refactor of device settings viewer / editor
This commit is contained in:
parent
818ce36168
commit
18f9975390
7 changed files with 134 additions and 264 deletions
|
|
@ -133,7 +133,10 @@ gapp.overlay(root, {
|
|||
});
|
||||
|
||||
// add common element types
|
||||
["a", "i", "hr", "div", "span", "label", "input", "button", "svg", "textarea"].forEach(type => {
|
||||
[
|
||||
"a", "i", "hr", "div", "span", "label", "input",
|
||||
"button", "svg", "textarea", "select", "option"
|
||||
].forEach(type => {
|
||||
h[type] = (attr, innr) => {
|
||||
return h.el(type, attr, innr);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue