Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MDCComponent<FoundationType>

Type parameters

Hierarchy

  • MDCComponent

Index

Constructors

constructor

Properties

Protected foundation_

foundation_: FoundationType

Protected root_

root_: Element

Methods

destroy

  • destroy(): 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

  • getDefaultFoundation(): FoundationType

initialSyncWithDOM

  • initialSyncWithDOM(): void

initialize

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

listen

unlisten

Static attachTo

Generated using TypeDoc