@virtualstate/examples
Version:
15 lines • 508 B
JavaScript
import { ChildrenSource, EnableThen, h } from "@virtualstate/fringe";
const node = (h("p", { ...{ [EnableThen]: true } },
h("z", null,
h("a", null)),
h("z", null,
h("b", null)),
h("z", null,
h("c", null))));
async function Example() {
const result = await node;
return result.map(node => node.children[ChildrenSource]);
}
export const _304_AsPromiseOptions = h(Example, null);
export const _304_URL = import.meta.url;
//# sourceMappingURL=as-promise-options.js.map