Jelajahi Sumber

New attributes to analize in <section>

@soyjavi 14 tahun lalu
induk
melakukan
4d7a0c98fc
1 mengubah file dengan 9 tambahan dan 2 penghapusan
  1. 9 2
      src/attributes/Lungo.Attributes.Section.js

+ 9 - 2
src/attributes/Lungo.Attributes.Section.js

@@ -1,6 +1,6 @@
-/** 
+/**
  * Make an analysis of <elements> in a <section>.
- * 
+ *
  * @namespace LUNGO.Attributes
  * @class Section
  *
@@ -11,10 +11,17 @@
 LUNGO.Attributes.Section = {
      header: {
          name: 'header',
+         reference: 'height',
          bind: 'top'
      },
      footer: {
          name: 'footer',
+         reference: 'height',
          bind: 'bottom'
+     },
+     aside: {
+         name: 'aside',
+         reference: 'width',
+         bind: 'left'
      }
 };