# @types/multiselect

> TypeScript definitions for multiselect

Latest version **0.9.4** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/multiselect
pnpm add @types/multiselect
yarn add @types/multiselect
bun add @types/multiselect
```

## Health

**Score 40/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; popular repo; extremely popular.

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

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.9.4 |
| Published | 2023-11-07 |
| First published | 2020-09-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 4.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51421 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/multiselect
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/multiselect
- npm.io page: https://npm.io/package/@types/multiselect

## Dependencies (1)

- [@types/jquery](https://npm.io/package/@types/jquery.md) *

## Recent versions

- 0.9.4 (latest) — 2023-11-07
- 0.9.1 (ts4.1) — 2021-07-08
- 0.9.0 (ts3.2) — 2020-09-29
- 0.9.3 — 2023-10-18
- 0.9.2 — 2023-09-27

## README

# Installation
> `npm install --save @types/multiselect`

# Summary
This package contains type definitions for multiselect (https://github.com/lou/multi-select).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/multiselect.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/multiselect/index.d.ts)
````ts
/// <reference types="jquery" />

type Options = Partial<{
    afterInit: (...args: any[]) => void;
    afterSelect: (...args: any[]) => void;
    afterDeselect: (...args: any[]) => void;
    selectableHeader: string | HTMLElement;
    selectionHeader: string | HTMLElement;
    selectableFooter: string | HTMLElement;
    selectionFooter: string | HTMLElement;
    disabledClass: string;
    selectableOptgroup: boolean;
    keepOrder: boolean;
    dblClick: boolean;
    cssClass: string;
}>;

interface AddOption {
    value: string;
    text: string;
    index?: number | undefined;
    nested?: string | undefined;
}

type Method = "select_all" | "deselect_all" | "refresh";

interface JQuery {
    multiSelect(methodOrOptions?: Method | Options): JQuery;
    multiSelect(method: "addOption", addOption: AddOption): JQuery;
    multiSelect(method: "select" | "deselect", options?: string | any[]): JQuery;
}

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 09:09:39 GMT
 * Dependencies: [@types/jquery](https://npmjs.com/package/@types/jquery)

# Credits
These definitions were written by [nagamejun](https://github.com/nagamejun).

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