Nicely Pruned Marigolds

    toggle-element

    0.0.13 • Public • Published

    It's easy peasy

    <!-- customElements polyfill (12.2KB) -->
    <script src="https://cdnjs.cloudflare.com/ajax/libs/document-register-element/1.1.1/document-register-element.js"></script>
    <!-- our custom element's source (6.3KB) -->
    <script src="https://unpkg.com/toggle-element"></script>
    <link href="https://unpkg.com/toggle-element/styles.css" rel="stylesheet">
    <aaronshaf-toggle checked value="yes"></aaronshaf-toggle>

    Check out the demo.

    Install

    npm i toggle-element

    DownloadsWeekly Downloads

    6

    Version

    0.0.13

    License

    MIT

    Last publish

    Collaborators

    • aaronshaf