M
M
monochromer2015-10-23 10:28:57
JavaScript
monochromer, 2015-10-23 10:28:57

How to reinitialize checkbox styling from Material Design Lite in Angular?

Hello!
I am learning Angular. I took Material Design Lite as design elements .
Link to codepen
After applying a search filter or updating records, the appearance of checkboxes in a table column disappears.
How to correctly reinitialize them (in general, not only in relation to Material Design Lite)?
Thank you!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
Nicholas, 2015-10-23
@healqq

Since the angular filter manipulates the house - you need to reinitialize the component by hand. For example, this is written about here: www.getmdl.io/started/index.html#dynamic
I see it like this: we make the line a separate directive and put this call into the link function.

M
monochromer, 2015-10-23
@monochromer

Nicholas , thanks for your reply!
Found the angular-material-design-lite project .
In the same place, I found a solution for updating MDL elements .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question