2020-07-28 09:04:04 -07:00
|
|
|
import { IgniteElement } from './ignite-element.js';
|
|
|
|
import { IgniteTemplate, div } from './ignite-template.js';
|
|
|
|
import { Sheet } from './sheet.js';
|
|
|
|
|
|
|
|
class MainApp extends IgniteElement {
|
|
|
|
constructor() {
|
|
|
|
super();
|
|
|
|
|
|
|
|
this.name = "Default Name";
|
|
|
|
}
|
|
|
|
|
2020-07-28 22:23:49 -07:00
|
|
|
get properties() {
|
2020-07-28 09:04:04 -07:00
|
|
|
return [
|
|
|
|
"name",
|
|
|
|
];
|
|
|
|
}
|
|
|
|
|
|
|
|
render() {
|
2020-07-28 22:23:49 -07:00
|
|
|
return new Sheet().property("name", this.name);
|
2020-07-28 09:04:04 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
customElements.define("main-app", MainApp);
|