_DC.Panel🔗 Panel widget

Constructor: [Message [Type [Title]]]

Message – the text that will appear in the popup

Type – one of 'info', 'warn', 'erro[r]', 'succ[ess]', 'warnRed' OR .ClassName for custom styling

Title – Text of the title (Box is rendered without title-section if no title is specified)

Public Fields:

Message – the text that will appear in the popup

Type – one of 'info', 'warn', 'erro[r]', 'succ[ess]', 'warnRed' OR .ClassName for custom styling

Title – Text of the title (Box is rendered without title-section if no title is specified)

Icon – name of an Icon (as accepted by the Icon-Class) OR a ref to an existing Icon-Object

Radius – (0=square,1=defaults, any other number is measure, unit given in RadiusUnit)

RadiusUnit – defaults to "em", but you can also specify a different unit

Radius and RadiusUnit can be defined a single elements or up to 4 elements (for each corner).

If less than 4 elems are supplied, missing elems will be filled according to CSS-Rules Four values: first value applies to top-left, second value applies to top-right, third value applies to bottom-right, and fourth value applies to bottom-left corner Three values: first value applies to top-left, second value applies to top-right and bottom-left, and third value applies to bottom-right Two values: first value applies to top-left and bottom-right corner, and the second value applies to top-right and bottom-left corner One value: all four corners are rounded equally

Notes:

To use custom-styling, provide the "base-name" of your style and add a style-sheet in which

you use selectors that combine your style with .dc-panel-icon, dc-panel-title to specifically

style these sections of the panel. (dc-panel-content can be skipped if you specify the others.)

See the Advanced Example for a practical example.

Relevant Sample Pages:

Controls used on this page: Dyalog: Tabs Base HTML: style