# talio-selectize

> selectize packaged for talio and mercury.

Latest version **0.0.3** (published 2015-09-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install talio-selectize
pnpm add talio-selectize
yarn add talio-selectize
bun add talio-selectize
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2015-09-17 |
| First published | 2015-09-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Giovanni T. Parra |
| Maintainers | fiatjaf |
| Keywords | virtual-dom, dom-delegator, selectize, combobox, talio, mercury, widget |

## Links

- npm: https://www.npmjs.com/package/talio-selectize
- npm.io page: https://npm.io/package/talio-selectize

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 0.0.3 (latest) — 2015-09-17
- 0.0.2 — 2015-09-17
- 0.0.1 — 2015-09-17

## README

[Selectize](http://brianreavis.github.io/selectize.js/) [Widget](https://github.com/Matt-Esch/virtual-dom/blob/master/docs/widget.md) for being used in the context of a [virtual-dom](https://github.com/Matt-Esch/virtual-dom) and [dom-delegator](https://github.com/Raynos/dom-delegator) based framework, such as [mercury](https://www.npmjs.com/package/mercury) or [talio](https://www.npmjs.com/package/talio).

This requires [Selectize](http://brianreavis.github.io/selectize.js/) to be already loaded in the page in the old way (as a global), so you can probably include [this CSS file](http://cdnjs.cloudflare.com/ajax/libs/selectize.js/0.12.1/css/selectize.default.min.css) and [this JS file](http://cdnjs.cloudflare.com/ajax/libs/selectize.js/0.12.1/js/standalone/selectize.min.js) and everything will be ok.

It also needs **jQuery**, which is a dependency of Selectize, and also expects it to be a global.

If you don't like adding `<script>` tags everywhere, then you can initialize this with

```javascript
window.$ = require('jquery')
window.selectize = require('selectize')

SelectizeWidget = require('talio-selectize')
SelectizeWidget.init(talio.delegator)

vtree = h('div', {},
  SelectizeWidget({
    name: '',
    value: '',
    options: [{bli: '', 'plo': ''}],
    valueField: 'plo',
    nameField: 'bli',
    'ev-change': 'normal event handler'
  })
)
```

---
_Source: https://npm.io/package/talio-selectize · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
