Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IDialogStyles<P, O>

The IDialogStyles interface defines styles used by the Dialog class to create different elements of the dialog. The implementations should provide class rules for the following properties:

  • dialogCaption
  • dialogBody
  • dialogButtonBar
  • dialogButton

Type parameters

  • P: StyleDefinition

  • O: StyleDefinition

Hierarchy

Implemented by

Index

Constructors

constructor

  • Style definition classes are created directly only by the styled components - that is, components that use different styles for each instance. Otherwise, style definition class instances are created when either the [[$use]] or [[activate]] function is called.

    Parameters

    • Optional parent: P

      Reference to the parent style definition class

    Returns IDialogStyles

Properties

Optional Readonly dialog

dialog: css.ClassPropType

Defines what CSS class to use for the <dialog> element.

Optional Readonly dialogBody

dialogBody: css.ClassPropType

Defines what CSS class to use for the body section.

Optional Readonly dialogButton

dialogButton: css.ClassPropType

Defines what CSS class to use for the buttons.

Optional Readonly dialogButtonBar

dialogButtonBar: css.ClassPropType

Defines what CSS class to use for the button bar section.

Optional Readonly dialogCaption

dialogCaption: css.ClassPropType

Defines what CSS class to use for the caption section.

Accessors

$owner

  • get $owner(): O | undefined
  • Refers to the instance of the style definition class which is the owner of this style definition object. The owner is the top-level class in the chain of style definition classes. Through this member, all rules and other members defined in the owner definition class can be accessed.

    Returns O | undefined

$parent

  • get $parent(): P | undefined
  • Refers to the instance of the style definition class which is the parnt of this style definition object in the chain of style definition classes. Through this member, all rules and other members defined in the parent definition class can be accessed.

    Returns P | undefined

Generated using TypeDoc