2023-09-05 09:25:47 +02:00
|
|
|
import { style, el } from './exports.js';
|
2023-08-26 09:36:55 +02:00
|
|
|
document.head.append(style.element);
|
2023-09-05 09:25:47 +02:00
|
|
|
import { fullNameComponent } from './components/fullNameComponent.js';
|
|
|
|
import { todosComponent } from './components/todosComponent.js';
|
2023-12-22 16:49:59 +01:00
|
|
|
import { CustomHTMLTestElement, CustomSlottingHTMLElement } from "./components/webComponent.js";
|
2023-12-16 16:14:00 +01:00
|
|
|
import { thirdParty } from "./components/3rd-party.js";
|
2023-09-09 21:15:43 +02:00
|
|
|
|
2023-09-05 09:25:47 +02:00
|
|
|
document.body.append(
|
|
|
|
el("h1", "Experiments:"),
|
|
|
|
el(fullNameComponent),
|
|
|
|
el(todosComponent),
|
2023-12-16 16:14:00 +01:00
|
|
|
el(CustomHTMLTestElement.tagName, { name: "attr" }),
|
2023-12-22 16:49:59 +01:00
|
|
|
el(thirdParty),
|
|
|
|
el(CustomSlottingHTMLElement.tagName).append(
|
|
|
|
el("strong", { slot: "name", textContent: "Honzo" }),
|
|
|
|
el("span", "…default slot")
|
|
|
|
)
|
2023-09-05 09:25:47 +02:00
|
|
|
);
|