Explorar o código

New data-search attribute

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

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

@@ -19,6 +19,11 @@ LUNGO.Attributes.Data = {
         selector: '*',
         html: '<span class="bubble count">{{value}}</span>'
     },
+    Search: {
+        tag: 'search',
+        selector: '*',
+        html: '<input type="search" placeholder="{{value}}"/><a href="#" class="button" data-icon="search"></a>'
+    },
     Icon: {
         tag: 'icon',
         selector: '*',