mofron-comp-text
Advanced tools
Comparing version 0.15.1 to 0.15.2
12
index.js
@@ -23,10 +23,10 @@ /** | ||
this.shortForm('text'); | ||
/* init config */ | ||
this.confmng().add("heiWeight", { init:1.5, type:"number" }); | ||
this.confmng().add( | ||
"weight", | ||
{ type: "number", select: [100,200,300,400,500,600,700,800,900] } | ||
"weight", | ||
{ type: "number", select: [100,200,300,400,500,600,700,800,900] } | ||
); | ||
/* set config */ | ||
@@ -50,4 +50,4 @@ if (undefined !== prm) { | ||
super.initDomConts(); | ||
this.text(''); // default text | ||
this.size("0.16rem"); // default size | ||
this.text(''); | ||
this.size("0.16rem", { private:true }); | ||
} catch (e) { | ||
@@ -54,0 +54,0 @@ console.error(e.stack); |
{ | ||
"name": "mofron-comp-text", | ||
"version": "0.15.1", | ||
"version": "0.15.2", | ||
"description": "text component for mofron", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
9715