You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Return the components initialized by a call to autoInit
Motivation
Currently, when integrating mdc with a framework or with custom elements is necessary to individually create the components, store its references and destroy when appropriate. With autoInit is possible to accomplish the first step with one call (create the components) but will not provide the means to destroy the component instances
Use case
By autoInit returning the initialized components we could write components like the below which will initialize (and) finalize all mdc components with auto-init attribute
Feature Request
Return the components initialized by a call to
autoInit
Motivation
Currently, when integrating mdc with a framework or with custom elements is necessary to individually create the components, store its references and destroy when appropriate. With
autoInit
is possible to accomplish the first step with one call (create the components) but will not provide the means to destroy the component instancesUse case
By
autoInit
returning the initialized components we could write components like the below which will initialize (and) finalize all mdc components with auto-init attributeThe text was updated successfully, but these errors were encountered: