how dynamically initialize components of materialise design lite (google) for SPA ? As I am dynamically initializing the components in a view the JS is not initializing. As i have tried with many solutions using componentHandler.
To initialize the javascript components of MDL not starting to window.load you must update the DOM component:
componentHandler.upgradeDom();
For more information https://github.com/google/material-design-lite/issues/871
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With