Register model changes to MDL input elements
问题 When integrating MDL with a framework, the framework will set the values for inputs directly, but the changes won't get noticed by the MDL libraries, as those are likely bound to click and change events. For example, if I have: <div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label"> <input class="mdl-textfield__input" type="text" id="joke" pattern="-?[0-9]*(\.[0-9]+)?"> <label class="mdl-textfield__label" for="joke">Joke...</label> <span class="mdl-textfield__error">Input