@virtualstate/examples
Version:
40 lines • 1.06 kB
JavaScript
import { EnableThen } from "@virtualstate/fringe";
export class Element {
static [EnableThen] = true;
constructor(options, children) {
this.
this.
}
get reference() {
return this.
}
get source() {
return this.
}
get options() {
return {
...this.
};
}
get element() {
return this.
}
set document(document) {
this.
}
get document() {
return this.
}
async *[Symbol.asyncIterator]() {
// await new Promise(thenish.bind(<>{this.#children}</>));
// Yield this once mounted all children
yield this;
}
}
//# sourceMappingURL=element.js.map