mofron-comp-header
Advanced tools
Comparing version 0.8.3 to 0.8.4
14
index.js
@@ -48,2 +48,4 @@ /** | ||
this.size('100%', 50); | ||
this.responsive({ 'height' : 50 }); | ||
this.bind(true); | ||
@@ -65,11 +67,2 @@ | ||
responsive (prm) { | ||
try { | ||
this.height(150); | ||
} catch (e) { | ||
console.error(e.stack); | ||
throw e; | ||
} | ||
} | ||
themeConts (thm) { | ||
@@ -98,4 +91,5 @@ try { | ||
} | ||
let hei = this.height(); | ||
this.adom().child()[1].style({ | ||
'height' : ('number' === typeof val) ? val+'px' : val | ||
'height' : ('number' === typeof hei) ? hei+'px' : hei | ||
}); | ||
@@ -102,0 +96,0 @@ } catch (e) { |
{ | ||
"name": "mofron-comp-header", | ||
"version": "0.8.3", | ||
"version": "0.8.4", | ||
"description": "header component for mofron", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
6216
136