@tadashi/svelte-pesquisa

    1.2.1 • Public • Published

    pesquisa-webcomponent

    NPM version


    Svelte component

    Install

    $ npm i -S @tadashi/svelte-pesquisa
    

    Usage

    Example: https://codepen.io/lagden/pen/oNezyyv?editors=1010

    <script type="module" src="https://unpkg.com/@tadashi/svelte-pesquisa@{VERSION}/dist/Pesquisa.js"></script>
    
    <tadashi-pesquisa
      endpoint="https://ws.apicep.com/cep.json"
      prop="code"
      method="get"
    >
      <input type="text" name="q">
    </tadashi-pesquisa>
    
    <script>
      const pesquisa = document.querySelector('tadashi-pesquisa')
      pesquisa.addEventListener('response', console.log)
    </script>

    License

    MIT © Thiago Lagden

    Install

    npm i @tadashi/svelte-pesquisa

    DownloadsWeekly Downloads

    63

    Version

    1.2.1

    License

    MIT

    Unpacked Size

    318 kB

    Total Files

    8

    Last publish

    Collaborators

    • lagden