Interface MDCDialogAdapter
Methods
addBodyClass
- addBodyClass(className: string): void
addClass
- addClass(className: string): void
areButtonsStacked
- areButtonsStacked(): boolean
clickDefaultButton
- clickDefaultButton(): void
eventTargetMatches
- eventTargetMatches(target: EventTarget | null, selector: string): boolean
-
Parameters
-
target: EventTarget | null
-
selector: string
Returns boolean
getActionFromEvent
- getActionFromEvent(evt: Event): string | null
-
Parameters
Returns string
|
null
hasClass
- hasClass(className: string): boolean
-
Parameters
Returns boolean
isContentScrollable
- isContentScrollable(): boolean
notifyClosed
- notifyClosed(action: string): void
notifyClosing
- notifyClosing(action: string): void
removeBodyClass
- removeBodyClass(className: string): void
removeClass
- removeClass(className: string): void
Defines the shape of the adapter expected by the foundation. Implement this adapter for your framework of choice to delegate updates to the component in your framework of choice. See architecture documentation for more details. https://github.com/material-components/material-components-web/blob/master/docs/code/architecture.md