@substrate-system/input
    Preparing search index...

    @substrate-system/input

    input

    tests types module install size GZip size dependencies semantic versioning Common Changelog license

    A parent web component to inherit from.

    See a live demo

    npm i -S @substrate-system/input
    

    This exposes ESM and common JS via package.json exports field.

    import { Input } from '@substrate-system/input'
    
    const { Input } = require('@substrate-system/input')
    

    Inherit from this module.

    import { Input } from '@substrate-system/input'

    class FooBar extends Input {
    static tag = 'foo-bar'
    }

    // Use the static method `define`
    FooBar.define()

    document.body.innerHTML += `
    <foo-bar></foo-bar>
    `