packages/components/eui-dialog/container/eui-dialog-container.component.ts
OnInit
OnDestroy
AfterViewInit
| changeDetection | ChangeDetectionStrategy.OnPush |
| encapsulation | ViewEncapsulation.None |
| selector | eui-dialog-container |
| imports |
AsyncPipe
TranslateModule
PortalModule
OverlayModule
A11yModule
DragDropModule
CdkScrollableModule
EUI_BUTTON
EUI_ICON
EUI_ICON_BUTTON
EUI_ICON_STATE
|
| templateUrl | ./eui-dialog-container.component.html |
| styleUrl | ../eui-dialog.scss |
Properties |
|
Methods |
|
Inputs |
HostBindings |
Accessors |
| closeButtonAriaLabel |
Type : string
|
Default value : 'Close dialog'
|
| class |
Type : string
|
Default value : 'eui-dialog-container'
|
| Public closeDialog |
closeDialog()
|
|
Returns :
void
|
| Public disableAcceptButton |
disableAcceptButton()
|
|
Disable Accept button of default eui-dialog footer.
Returns :
void
|
| Public disableDismissButton |
disableDismissButton()
|
|
Disable Dismiss button of default eui-dialog footer.
Returns :
void
|
| Public enableAcceptButton |
enableAcceptButton()
|
|
Enable Accept button of default eui-dialog footer.
Returns :
void
|
| Public enableDismissButton |
enableDismissButton()
|
|
Enable Dismiss button of default eui-dialog footer.
Returns :
void
|
| Public getContentId |
getContentId()
|
|
Based on certain conditions returns the id of the body content to the aria-describedby attr of the container
Returns :
string
|
| Public onAccept |
onAccept()
|
|
Returns :
void
|
| Public onDismiss |
onDismiss()
|
|
Returns :
void
|
| Public onScroll |
onScroll()
|
|
Returns :
void
|
| Public portalAttached | |||||||||
portalAttached(attachedRef: CdkPortalOutletAttachedRef, component: "headerComponent" | "bodyComponent" | "footerComponent")
|
|||||||||
|
Parameters :
Returns :
void
|
| Public scrollToBottom |
scrollToBottom()
|
|
Returns :
void
|
| Public scrollToTop |
scrollToTop()
|
|
Returns :
void
|
| Public acceptButtonDisabled$ |
Type : BehaviorSubject<boolean>
|
Default value : new BehaviorSubject<boolean>(false)
|
| Public bodyComponentPortal |
Type : ComponentPortal<BC>
|
| cd |
Type : unknown
|
Default value : inject(ChangeDetectorRef)
|
| Public componentInstances |
Type : unknown
|
Default value : new EuiDialogComponentInstances<HC, BC, FC>()
|
| dialogBody |
Type : ElementRef<HTMLElement>
|
Decorators :
@ViewChild('dialogBody', {read: ElementRef})
|
| dialogContainerConfig |
Type : unknown
|
Default value : inject<EuiDialogInterface<HC, HCC, BC, BCC, FC, FCC>>(DIALOG_CONTAINER_CONFIG)
|
| Public dismissButtonDisabled$ |
Type : BehaviorSubject<boolean>
|
Default value : new BehaviorSubject<boolean>(false)
|
| Public footerComponentPortal |
Type : ComponentPortal<FC>
|
| Public headerComponentPortal |
Type : ComponentPortal<HC>
|
| Public isBodyComponentPortal |
Type : unknown
|
Default value : false
|
| Public isBodyTemplatePortal |
Type : unknown
|
Default value : false
|
| Public isFooterComponentPortal |
Type : unknown
|
Default value : false
|
| Public isFooterTemplatePortal |
Type : unknown
|
Default value : false
|
| Public isHeaderComponentPortal |
Type : unknown
|
Default value : false
|
| Public isHeaderTemplatePortal |
Type : unknown
|
Default value : false
|
| string |
Type : string
|
Default value : 'eui-dialog-container'
|
Decorators :
@HostBinding('class')
|
| getComponentInstances |
getgetComponentInstances()
|
| getPortalOutlet |
getgetPortalOutlet()
|
| dialogContainerConfigContent |
getdialogContainerConfigContent()
|