Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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];

```