Giter Club home page Giter Club logo

Comments (1)

RubyLouvre avatar RubyLouvre commented on July 16, 2024
<!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>

from avalon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.