Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IPopupStyles<P, O>

The IPopupStyles interface defines styles used by the Popup class to create the <dialog> element. The implementations should provide the class rule for the dialog property and can also define the ::backdrop pseudo element styles, which is used when the popup is shown as a modal dialog.

Type parameters

  • P: StyleDefinition

  • O: StyleDefinition

Hierarchy

Implemented by

Index

Constructors

Properties

Accessors

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 IPopupStyles

Properties

Optional Readonly dialog

dialog: css.ClassPropType

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

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