blob: f2b79ac15e2ccc1c9b24a157723ae9daffd237a3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
export { Container } from './container.js';
export { native } from './native.js';
export function create(tag, options) {
const element = document.createElement(tag);
if (options) {
Object.entries(options).forEach(([key, value]) => {
element[key] = value;
})
}
return element;
}
|