External module "mdc-auto-init/index"
Functions
mdcAutoInit
- mdcAutoInit(root?: Document, warn?: function): MDCComponent<MDCFoundation<__type>>[]
-
Parameters
-
Default value root: Document = document
-
Default value warn: function = CONSOLE_WARN
Returns MDCComponent<MDCFoundation<__type>>[]
Auto-initializes all MDC components on a page.