Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Implements

Index

Constructors

constructor

  • Parameters

    • root: Element
    • Optional foundation: FoundationType
    • Rest ...args: Array<unknown>

    Returns MDCRipple

Properties

disabled

disabled: boolean = false

Protected foundation_

foundation_: MDCRippleFoundation

root_

root_: Element

Accessors

unbounded

  • get unbounded(): boolean
  • set unbounded(unbounded: boolean): void

Methods

activate

  • activate(): void

deactivate

  • deactivate(): void

destroy

  • destroy(): void
  • Returns void

emit

  • emit<T>(evtType: string, evtData: T, shouldBubble?: boolean): void
  • Fires a cross-browser-compatible custom event from the component root of the given type, with the given data.

    Type parameters

    • T: object

    Parameters

    • evtType: string
    • evtData: T
    • Default value shouldBubble: boolean = false

    Returns void

getDefaultFoundation

initialSyncWithDOM

  • initialSyncWithDOM(): void

initialize

  • initialize(..._args: Array<unknown>): void
  • Parameters

    • Rest ..._args: Array<unknown>

    Returns void

layout

  • layout(): void

listen

  • Wrapper method to add an event listener to the component's root element. This is most useful when listening for custom events.

    Type parameters

    Parameters

    Returns void

  • Type parameters

    • E: Event

    Parameters

    Returns void

unlisten

  • Wrapper method to remove an event listener to the component's root element. This is most useful when unlistening for custom events.

    Type parameters

    Parameters

    Returns void

  • Type parameters

    • E: Event

    Parameters

    Returns void

Static attachTo

Static createAdapter

Generated using TypeDoc