Neolithic Prancing Minotaurs

    sk-input-antd

    0.2.8 • Public • Published

    Skinny Widgets Input for Antd Theme

    input element

    npm i sk-input sk-input-antd --save
    
    <sk-config
        theme="antd"
        base-path="/node_modules/sk-core/src"
        theme-path="/node_modules/sk-theme-antd"
    ></sk-config>
    <sk-input id="myInput1" value="foobar"></sk-input>
    <script type="module">
        import { SkInput } from './node_modules/sk-input/index.js';
    
        customElements.define('sk-input', SkInput);
    
    </script>

    attributes

    value - value syncronized with internal native element

    disabled - disabled attribute syncronized with internal native element

    list - datalist attribute for input

    slots

    default (not specified) - draws label for input

    label - draws label for input

    <sk-input id="myInput1">
        <span slot="label">Some Label</span>
    </sk-input>

    template

    id: SkInputTpl

    Keywords

    none

    Install

    npm i sk-input-antd

    DownloadsWeekly Downloads

    2

    Version

    0.2.8

    License

    ISC

    Unpacked Size

    1.99 kB

    Total Files

    5

    Last publish

    Collaborators

    • avatar