Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "mdc-auto-init/index"

Index

Interfaces

Functions

Functions

mdcAutoInit

  • mdcAutoInit(root?: Document, warn?: function): MDCComponent<MDCFoundation<__type>>[]
  • Auto-initializes all MDC components on a page.

    Parameters

    • Default value root: Document = document
    • Default value warn: function = CONSOLE_WARN
        • (...args: A): R
        • Parameters

          • Rest ...args: A

          Returns R

    Returns MDCComponent<MDCFoundation<__type>>[]

Generated using TypeDoc