Flyweight DOM - v2.3.0
    Preparing search index...

    Module flyweight-dom/dsl

    The DSL that streamlines DOM authoring.

    import { f } from 'flyweight-dom/dsl';

    const element = f.div({ class: 'red' }, 'Hello, ', f.strong('world!'));

    element.className;
    // ⮕ 'red'

    element.textContent;
    // ⮕ 'Hello, world!'

    DSL

    ElementFactories
    ElementFactory
    NodeFactories
    Child
    DSL
    f