@material/auto-init
- Version 14.0.0
- Published
- 49.3 kB
- 2 dependencies
- MIT license
Install
npm i @material/auto-init
yarn add @material/auto-init
pnpm add @material/auto-init
Overview
Declarative, easy-to-use auto-initialization for Material Components for the web
Index
Functions
Interfaces
Namespaces
Functions
function mdcAutoInit
mdcAutoInit: typeof mdcAutoInit;
Auto-initializes all MDC components on a page.
Interfaces
interface MDCAttachable
interface MDCAttachable extends Function {}
method attachTo
attachTo: (root: Element) => MDCComponent<MDCFoundation>;
Namespaces
namespace mdcAutoInit
namespace mdcAutoInit {}
function deregister
deregister: (componentName: string) => void;
function deregisterAll
deregisterAll: () => void;
function register
register: ( componentName: string, Constructor: MDCAttachable, warn?: (...data: any[]) => void) => void;
Package Files (1)
Dependencies (2)
Dev Dependencies (0)
No dev dependencies.
Peer Dependencies (0)
No peer dependencies.
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@material/auto-init
.
- Markdown[![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@material/auto-init)
- HTML<a href="https://www.jsdocs.io/package/@material/auto-init"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 2717 ms. - Missing or incorrect documentation? Open an issue for this package.