trait ModalProps extends Object
- Annotations
- @RawJSType() @native()
- Alphabetic
- By Inheritance
- ModalProps
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Concrete Value Members
- val actions: UndefOr[SemanticShorthandArray[ButtonProps]]
Shorthand for Modal.Actions.
Shorthand for Modal.Actions. Typically an array of button shorthand.
- def apply(key: String): Any
- Annotations
- @JSBracketAccess()
- val as: UndefOr[AsT]
An element type to render as (string or function).
- val basic: UndefOr[Boolean]
A Modal can reduce its complexity
- val centered: UndefOr[Boolean]
A modal can be vertically centered in the viewport
- val children: UndefOr[Node]
Primary content.
- val className: UndefOr[String]
Additional classes.
- val closeOnDimmerClick: UndefOr[Boolean]
Whether or not the Modal should close when the dimmer is clicked.
- val closeOnDocumentClick: UndefOr[Boolean]
Whether or not the Modal should close when the document is clicked.
- val content: UndefOr[SemanticShorthandItemS[ModalContentProps]]
A Modal can be passed content via shorthand.
- val defaultOpen: UndefOr[Boolean]
Initial value of open.
- val dimmer: UndefOr[|[Boolean, String]]
A modal can appear in a dimmer.
- val eventPool: UndefOr[String]
Event pool namespace that is used to handle component events
- def hasOwnProperty(v: String): Boolean
- Definition Classes
- Object
- val header: UndefOr[SemanticShorthandItemS[ModalHeaderProps]]
A Modal can be passed header via shorthand.
- def isPrototypeOf(v: Object): Boolean
- Definition Classes
- Object
- val onActionClick: UndefOr[RawOnActionClick]
Action onClick handler when using shorthand
actions
. - val onClose: UndefOr[RawOnClose]
Called when a close event happens.
- val onMount: UndefOr[RawOnMount]
Called when the portal is mounted on the DOM.
- val onOpen: UndefOr[RawOnClose]
Called when an open event happens.
- val onUnmount: UndefOr[RawOnUnmount]
Called when the portal is unmounted from the DOM.
- val open: UndefOr[Boolean]
Controls whether or not the Modal is displayed.
- def propertyIsEnumerable(v: String): Boolean
- Definition Classes
- Object
- val size: UndefOr[String]
A modal can vary in size.
- val style: UndefOr[Object]
Custom styles.
- def toLocaleString(): String
- Definition Classes
- Object
- val trigger: UndefOr[Node]
Element to be rendered in-place where the portal is defined.
- def update(key: String, v: Any): Unit
- Annotations
- @JSBracketAccess()
- def valueOf(): Any
- Definition Classes
- Object