1
0
mirror of https://github.com/jaandrle/deka-dom-el synced 2024-11-25 09:49:36 +01:00
deka-dom-el/examples/index.js

13 lines
452 B
JavaScript
Raw Normal View History

import { style, el } from './exports.js';
document.head.append(style.element);
import { fullNameComponent } from './components/fullNameComponent.js';
import { todosComponent } from './components/todosComponent.js';
import { CustomHTMLTestElement } from "./components/webComponent.js";
document.body.append(
el("h1", "Experiments:"),
el(fullNameComponent),
el(todosComponent),
el(customElements.getName(CustomHTMLTestElement), { name: "attr" })
);