Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is angular2/materialize a subset of the materializecss? #397

Closed
halukkaramete opened this issue Dec 21, 2017 · 0 comments
Closed

Is angular2/materialize a subset of the materializecss? #397

halukkaramete opened this issue Dec 21, 2017 · 0 comments

Comments

@halukkaramete
Copy link

I wanted to implement the expandable component featured at http://materializecss.com/collapsible.html . i'm not very sure but from the related demo page ( https://infomedialtd.github.io/angular2-materialize/#/Collapsible), I have a feeling that angular2-materialize is not the same as materializecss, yet. Please confirm if this understanding is correct.
Or is it that the demo just opted out to feature it?

Also, where does the initialize code go in? Obviously, we cannot do things like

<script> $(document).ready(function(){ $('.collapsible').collapsible(); }); </script>

in the component.html as angular strips all script tags for security reasons.
When I place the above code in ngOnInit, I get the following error: collapsible is not a function

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant