simple-ui-builder
Advanced tools
Comparing version 1.0.10 to 1.0.11
{ | ||
"name": "simple-ui-builder", | ||
"version": "1.0.10", | ||
"version": "1.0.11", | ||
"description": "Build user interface like Lego bricks. UI.input(), UI.button(cb), UI.select(arr) etc. For lazy guys as I am.", | ||
@@ -5,0 +5,0 @@ "main": "ui.js", |
@@ -40,3 +40,3 @@ /** | ||
input.id = params.id; | ||
input.type = "text"; | ||
input.type = params.type || "text"; | ||
@@ -43,0 +43,0 @@ if (params.placeholder) input.placeholder = params.placeholder; |
22553