Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MDCDialogAdapter

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

Hierarchy

  • MDCDialogAdapter

Index

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

getActionFromEvent

  • getActionFromEvent(evt: Event): string | null

hasClass

  • hasClass(className: string): boolean

isContentScrollable

  • isContentScrollable(): boolean

notifyClosed

  • notifyClosed(action: string): void

notifyClosing

  • notifyClosing(action: string): void

notifyOpened

  • notifyOpened(): void

notifyOpening

  • notifyOpening(): void

releaseFocus

  • releaseFocus(): void

removeBodyClass

  • removeBodyClass(className: string): void

removeClass

  • removeClass(className: string): void

reverseButtons

  • reverseButtons(): void

trapFocus

  • trapFocus(): void

Generated using TypeDoc