Kaynağa Gözat

d06 Добавление _hyperscript(РАБОТАЕТ!!!)

SVI 2 yıl önce
ebeveyn
işleme
0c38011136

Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 0
web/static/js/_hyperscript.min.js


+ 5 - 0
web/tmpl/header.tmpl.html

@@ -11,6 +11,7 @@
         <link href="/static/css/bootstrap.min.css" rel="stylesheet">
         <!-- htmx -->
         <script src="/static/js/htmx.min.js"></script>
+        <script src="/static/js/_hyperscript.min.js"></script>
     </head>
 
     <body hx-boost="true">
@@ -26,4 +27,8 @@
                     </div>
                 </div>
             </div>
+            <div class="counter">
+                <output>0</output>
+                <button _="on click increment the textContent of the previous <output/>">Increment</button> (1)
+            </div>
             {{end}}

Bu fark içinde çok fazla dosya değişikliği olduğu için bazı dosyalar gösterilmiyor