Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "mdc-dialog/util"

Index

Type aliases

MDCDialogFocusTrapFactory

MDCDialogFocusTrapFactory: function

Type declaration

    • (element: HTMLElement | string, userOptions?: Options): FocusTrap
    • Parameters

      • element: HTMLElement | string
      • Optional userOptions: Options

      Returns FocusTrap

Functions

areTopsMisaligned

  • areTopsMisaligned(els: HTMLElement[]): boolean

createFocusTrapInstance

  • createFocusTrapInstance(surfaceEl: HTMLElement, focusTrapFactory?: MDCDialogFocusTrapFactory, initialFocusEl?: FocusTarget): FocusTrap
  • Parameters

    • surfaceEl: HTMLElement
    • Default value focusTrapFactory: MDCDialogFocusTrapFactory = createFocusTrap as unknown as MDCDialogFocusTrapFactory
    • Optional initialFocusEl: FocusTarget

    Returns FocusTrap

isScrollable

  • isScrollable(el: HTMLElement | null): boolean

Generated using TypeDoc