Wondering what’s next for npm?Check out our public roadmap! »

    fluentelement

    1.0.0 • Public • Published

    A simple library to fluently convert an HTML string to an HTML element.

    Usage

    html`<div class="myDiv">hello world</div>`

    returns an HTMLDivElement.

    Limitations and future work

    • The string must represent only one HTML element (though this element may have many children).
    • Currently, there is no model binding; any changes to variables after using the tagged template method will not automatically propagate to the element. You'll need to recreate the element or change the element manually.

    Install

    npm i fluentelement

    DownloadsWeekly Downloads

    0

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    5.56 kB

    Total Files

    5

    Last publish

    Collaborators

    • avatar