Cleaned up code and fixed an issue with the gulp file where dev was still minifying js. Added reflected properties support and fixed a few other issues.

This commit is contained in:
2020-08-23 11:50:31 -07:00
parent d4df41e427
commit f4ac568976
7 changed files with 151 additions and 45 deletions

View File

@ -1,5 +1,5 @@
import { IgniteElement } from './ignite-element.js';
import { IgniteTemplate, div, html, list, a, slot, input } from './ignite-template.js';
import { IgniteTemplate, div, html, list, a, slot, input, h1 } from './ignite-template.js';
class Sheet extends IgniteElement {
constructor() {
@ -34,6 +34,7 @@ class Sheet extends IgniteElement {
.child(
new div(
new input().attribute("type", "text").onEnter(this.enter),
new h1(this.name),
new html("<h2>this is before</h2>"),
new div(
new list(this.items, (item) => {