way.js

. 1    < body > 
2          < form   Way-Data = "formData" Way-persistent > <-! Time form tag there way-persistent, page refreshes data is not eliminated -> 
. 3              < INPUT type = "text" name = "name" placeholder = "name" > <-! have to write name, and each name can not be the same -> 
. 4              < INPUT type = "text" name = "Age" placeholder = "Age" /> 
. 5          < / form >
6          
7          <! -1.way-clear to clear the inside of the two-way binding data (click on the tag can be put inside of it);
 8              is not clear which added to the label when it 2. Place the inside way-persistent in form, the page refresh after data recovery -> 
. 9          < div Way-Clear Way-persistent > 
10              the Clear Data
 . 11          </ div > 
12 is  
13 is          < pre Way-Data = "__ all__" Way-JSON = "to true" > </ pre > 
14  
15      </ body >

 

Guess you like

Origin www.cnblogs.com/Salicejy/p/10960515.html