💾 Archived View for gmi.noulin.net › gitRepositories › moonjsExamples › file › loops.html.gmi captured on 2024-07-09 at 02:34:03. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2023-01-29)
-=-=-=-=-=-=-
loops.html (280B)
1 <body> 2 <script src="https://unpkg.com/moonjs"></script> 3 <div id="app6"> 4 <ul> 5 <li m-for="item in list">{{item}}</li> 6 </ul> 7 </div> 8 <script> 9 const app6 = new Moon({ 10 el: "#app6", 11 data: { 12 list: ['Item - 1', 'Item - 2', 'Item - 3', 'Item - 4'] 13 } 14 }); 15 </script> 16 </body>