- Preparing search index...
- The search index is not available
docs.hg.fi
Constructors
constructor
- new Modal(component: any, type?: ModalType, enableOverlay?: boolean): Modal
-
Parameters
-
component: any
-
type: ModalType = ModalType.CENTER
-
enableOverlay: boolean = true
Properties
Private
Readonly
_component
_component: any
Private
Readonly
_enableOverlay
_enableOverlay: boolean
Private
Readonly
_id
_id: string
Methods
getComponent
- getComponent(): any
-
Returns any
getId
- getId(): string
-
Returns string
isOverlayEnabled
- isOverlayEnabled(): boolean
-
Returns boolean
toString
- toString(): string
-
Returns string
Overlay is an grey are around the modal which will close the modal if clicked.
If overlay is not enabled, user can still click and access area around the modal.