-
Notifications
You must be signed in to change notification settings - Fork 534
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
avalon v4的早期实现: #57
Comments
<!DOCTYPE HTML> <html> <head> <meta charset="UTF-8"> <title>scope</title> <style> .my-class{ color: yellow; background:orange; } .your-class { line-height:3; width:200px; height:100px; } .his-class{ text-indent:2em; font-size:14px; } .single{ width:200px; height:100px; background:lightgreen; } </style> </head> <body> <p>First name: <input ms-model="firstName" /></p> <p>Last name: <input ms-model="lastName" ms-disabled='false' disabled='disabled' /></p> <h2>Hello, <input ms-event="change" ms-model="fullName">!</h2> <div>{{firstName +" | "+ lastName }}</div> <div>{{firstName | uppercase | aaa }}</div> <a href='{{2252}}/{{lastName}}' title='{{firstName}}'>这是链接</a> <div id="eee">Normal: {{1 + 8}}</div> <div ms-skip>Ignored: {{1 + 2}}</div> <hr/> <ul ms-each-el='array' id="array"> <li>这是动态生成的{{el}}</li> </ul> <div ms-if="bool">sssss</div> <form name="myForm" > <input type="radio" ms-model="color" value="red"> <br/> <input type="radio" ms-model="color" value="green"> <br/> <input type="radio" ms-model="color" value="blue"> <br/> <input type="checkbox" ms-model="vehicle" value="bike"><br> <input type="checkbox" ms-model="vehicle" value="car"> <br> <input type="checkbox" ms-model="vehicle" value="ship"> <p> I have a {{vehicle}}</p> <tt>color = {{color}}</tt><br/> </form> <select ms-model="select"> <option> test0 </option> <option> test1 </option> <option> test2 </option> </select>{{select}} <div ms-class="{ 'my-class':true, 'your-class':true, 'his-class':true }">xxxxxxxxx</div> <script src="mass.js" type="text/javascript"></script> <script type="text/javascript"> require("more/avalon2", function() { }) </script> </body> </html> |
1019行:!stopScan[elem.tagName] 应该要toLowerCase()一下吧? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: