Created
January 18, 2016 18:09
-
-
Save charleslcsantos/70bcb5717d3bbb1a26ba to your computer and use it in GitHub Desktop.
Angular + ui router + Material Design Lite > Update textfields label effect
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * | |
| * Atualizar animações do google material design lite | |
| * | |
| */ | |
| function updateMaterialEffecs() { | |
| var elements = document.getElementsByClassName('mdl-textfield'); | |
| for (var i = 0; i < elements.length; i++) { | |
| componentHandler.upgradeElement(elements[i]); | |
| }; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment