simple-ui-builder
Advanced tools
Comparing version 1.0.8 to 1.0.9
{ | ||
"name": "simple-ui-builder", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"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", |
@@ -452,2 +452,9 @@ /** | ||
if (params.style) { | ||
for (var key in params.style) { | ||
var val = params.style[key]; | ||
select.style[key] = val; | ||
} | ||
} | ||
var firstOption = document.createElement("option"); | ||
@@ -454,0 +461,0 @@ firstOption.innerHTML = params.firstRowText || "select " + params.id; |
22322
525