Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DefaultPopupStyles<P, O>

Default styles that will be used by the Popup if styles are not specified using options.

Type parameters

  • P: StyleDefinition

  • O: StyleDefinition

Hierarchy

Implements

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 DefaultPopupStyles

Properties

dialog

dialog: IClassRule = css.$class({border: [1, "solid", "grey"],boxShadow: { x: 4, y: 4, blur: 4, color: "lightgrey" },padding: 0,maxWidth: "100%",maxHeight: "100%",// transform: css.scale(0.1),// transition: { property: "transform", duration: 200 },"::backdrop": { backgroundColor: "grey", opacity: 0.3 }})

Styles 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