Explorar o código

New data-attribute: progress

@soyjavi %!s(int64=14) %!d(string=hai) anos
pai
achega
973e563a32
Modificáronse 1 ficheiros con 8 adicións e 0 borrados
  1. 8 0
      src/attributes/Lungo.Attributes.Data.js

+ 8 - 0
src/attributes/Lungo.Attributes.Data.js

@@ -24,6 +24,14 @@ LUNGO.Attributes.Data = {
         selector: '*',
         html: '<input type="search" placeholder="{{value}}"/><a href="#" class="button" data-icon="search"></a>'
     },
+    Progress: {
+        tag: 'progress',
+        selector: '*',
+        html: '<div class="progress" id="yeal">\
+                    <span class="labels"><span></span><span></span></span>\
+                    <span class="bar"><span class="value" style="width:{{value}};"><span class="glow"></span></span></span>\
+                </div>'
+    },
     Label: {
         tag: 'label',
         selector: 'a',