Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/codemyst/select
custom select component with filtering for svelte
https://github.com/codemyst/select
svelte
Last synced: 7 days ago
JSON representation
custom select component with filtering for svelte
- Host: GitHub
- URL: https://github.com/codemyst/select
- Owner: CodeMyst
- License: mit
- Created: 2021-05-23T20:14:04.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-05-28T14:41:43.000Z (over 3 years ago)
- Last Synced: 2023-03-02T08:22:34.086Z (almost 2 years ago)
- Topics: svelte
- Language: Svelte
- Homepage: https://select.myst.rs
- Size: 48.8 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# select
custom select component with filtering and full keyboard support for svelte.
check out the demo at https://select.myst.rs
get the package at https://www.npmjs.com/package/select.myst
## usage
```svelte
import { Select } from "select.myst";
const data1: [String, String][] = [
["vim", "Vim"],
["vscode", "Visual Studio Code"],
["sublime", "Sublime Text"],
["atom", "Atom"],
["emacs", "Emacs"],
["npp", "Nodepad++"],
["gedit", "Gedit"],
["joe", "Joe"],
["nodepad", "Notepad"],
["nano", "Nano"],
["micro", "Micro"]
];// preselect an option
let lang: [String, String] = data1[7];```