packages/eui/packages/components-next/src/lib/components/eui-message-box/eui-message-box.component.ts
| changeDetection | ChangeDetectionStrategy.OnPush |
| encapsulation | ViewEncapsulation.None |
| selector | eui-message-box |
| styleUrls | ./styles/_index.scss |
| templateUrl | ./eui-message-box.component.html |
Properties |
Methods |
|
Inputs |
Outputs |
Accessors |
constructor(viewContainerRef: ViewContainerRef, euiMessageBoxService: EuiMessageBoxService)
|
|||||||||
|
Parameters :
|
| acceptLabel |
Type : string
|
Default value : 'eui.YES'
|
| closeOnClickOutside |
| dismissLabel |
Type : string
|
Default value : 'eui.NO'
|
| e2eAttr |
Type : string
|
Default value : 'eui-message-box'
|
| hasCloseButton |
| title |
Type : string
|
| type |
Default value : 'warning'
|
| accept |
Type : EventEmitter
|
| close |
Type : EventEmitter
|
| dismiss |
Type : EventEmitter
|
| open |
Type : EventEmitter
|
| outsideClick |
Type : EventEmitter
|
| Public closeMessageBox |
closeMessageBox()
|
|
Close a Message Box
Returns :
void
|
| Public openMessageBox |
openMessageBox()
|
|
Open a Message Box
Returns :
void
|
| _closeOnClickOutside |
Default value : false
|
| _hasCloseButton |
Default value : true
|
| Public content |
Type : string | TemplatePortal
|
| euiMessageBoxFooterDirective |
Type : QueryList<EuiMessageBoxFooterDirective>
|
Decorators :
@ContentChild(undefined)
|
| templateRefContent |
Type : TemplateRef<ElementRef>
|
Decorators :
@ViewChild('templateRefContent')
|
| templateRefFooter |
Type : TemplateRef<EuiMessageBoxFooterDirective>
|
Decorators :
@ViewChild('templateRefFooter')
|
| hasCloseButton | ||||
sethasCloseButton(value)
|
||||
|
Parameters :
Returns :
void
|
| closeOnClickOutside | ||||
setcloseOnClickOutside(value)
|
||||
|
Parameters :
Returns :
void
|