add raw vertex input in devel mode. stub in slice connect shadow test for performance over plain face union

This commit is contained in:
Stewart Allen 2022-05-03 09:02:09 -04:00
commit 9454eeb287
7 changed files with 55 additions and 10 deletions

View file

@ -9,6 +9,9 @@ gapp.register("moto.webui", [], (root, exports) => {
let nextid = 1;
function build(data, context) {
if (!data) {
return [];
}
if (Array.isArray(data)) {
let html = [];
for (let d of data) {
@ -126,7 +129,7 @@ gapp.overlay(root, {
});
// add common element types
["a", "i", "hr", "div", "span", "label", "input", "button", "svg"].forEach(type => {
["a", "i", "hr", "div", "span", "label", "input", "button", "svg", "textarea"].forEach(type => {
h[type] = (attr, innr) => {
return h.el(type, attr, innr);
}