💾 Archived View for gmi.noulin.net › gitRepositories › moonjsExamples › file › bars.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

bars.html (401B)

     1 <body>
     2 <script src="https://unpkg.com/moonjs"></script>
     3 <script src="https://unpkg.com/moon-bars"></script>
     4 <div id="app1">
     5   <p>{{msg}}</p>
     6 
     7   <bars
     8   m-literal:data="[5, 7, 4, 3, 5]"
     9   m-literal:fill="['#7bddd3', '#079af9']"
    10   height="100"
    11   width="300">
    12   </bars>
    13 </div>
    14 <script>
    15 Moon.use(MoonBars);
    16 const app1 = new Moon({
    17   el: "#app1",
    18   data: {
    19     msg: "Hello Moon!"
    20   }
    21 });
    22 </script>
    23 </body>