JSPM

svelte-perfect-select

1.1.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 27
  • Score
    100M100P100Q59286F
  • License MIT

Package Exports

  • svelte-perfect-select
  • svelte-perfect-select/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (svelte-perfect-select) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Svelte Perfect Select

Install

Install using NPM

npm i svelte-perfect-select

Install using YARN

yarn add svelte-perfect-select

How to use

<script>
import Select from 'svelte-perfect-select';

let items = [
  {id:'SL', value:'Sri Lanka'},
  {id:'IND', value:'India'},
  {id:'PAK', value:'Pakistan'}
];
</script>

<body>
<Select options={items} selectSize="larger"/>
</body>

Size Options

SelectSize Font Size
smaller 10px
small 12px
medium 15px
large 18px
larger 20px