mofron-comp-header
Advanced tools
Comparing version 0.8.4 to 0.8.5
11
index.js
@@ -27,3 +27,2 @@ /** | ||
try { | ||
/* set header dom contents */ | ||
@@ -49,4 +48,2 @@ var hdr = new mf.Dom({ | ||
this.size('100%', 50); | ||
this.responsive({ 'height' : 50 }); | ||
this.bind(true); | ||
@@ -58,6 +55,5 @@ | ||
/* set child component */ | ||
if (true === mf.func.isInclude(prm, 'Component')) { | ||
if (undefined !== prm) { | ||
this.addChild(prm); | ||
} | ||
} catch (e) { | ||
@@ -90,7 +86,6 @@ console.error(e.stack); | ||
if (undefined !== ret) { | ||
return ret; | ||
return ret+1; | ||
} | ||
let hei = this.height(); | ||
this.adom().child()[1].style({ | ||
'height' : ('number' === typeof hei) ? hei+'px' : hei | ||
'height' : ('number' === typeof val) ? val+'px' : val | ||
}); | ||
@@ -97,0 +92,0 @@ } catch (e) { |
{ | ||
"name": "mofron-comp-header", | ||
"version": "0.8.4", | ||
"version": "0.8.5", | ||
"description": "header component for mofron", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
6052
4
134