💾 Archived View for gmi.noulin.net › gitRepositories › moonjsExamples › file › changingData.html.gmi captured on 2024-07-09 at 02:33:53. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-01-29)

-=-=-=-=-=-=-

moonjsExamples

Log

Files

Refs

README

changingData.html (240B)

     1 <body>
     2 <script src="https://unpkg.com/moonjs"></script>
     3 <div id="app2">
     4   <p>{{msg}}</p>
     5 </div>
     6 <script>
     7 const app2 = new Moon({
     8   el: "#app2",
     9   data: {
    10     msg: "Hello Moon!"
    11   }
    12 });
    13 app2.set('msg', "Changed Message!");
    14 </script>
    15 </body>