# four-boot

> javascript library to convert html select into beautiful Bootstrap 4 dropdown

Latest version **2.0.0** (published 2018-08-04) · MIT license · 0 weekly downloads

## Install

```sh
npm install four-boot
pnpm add four-boot
yarn add four-boot
bun add four-boot
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2018-08-04 |
| First published | 2018-04-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 41.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 11 |
| Author | ibraheem alnabriss |
| Maintainers | ibraheem-alnabriss |
| Keywords | form, bootstrap, bootstrap 4, bootstrap 4.1, select, selectpicker, select picker, replacement, four-boot |

## Links

- npm: https://www.npmjs.com/package/four-boot
- Repository: https://github.com/IbraheemAlnabriss/four-boot
- Homepage: https://ibraheemalnabriss.github.io/four-boot/
- Issues: https://github.com/IbraheemAlnabriss/four-boot/issues
- npm.io page: https://npm.io/package/four-boot

## Dependencies (2)

- [jquery](https://npm.io/package/jquery.md) >=1.8
- [bootstrap](https://npm.io/package/bootstrap.md) >=4.0.0

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 2.0.0 (latest) — 2018-08-04
- 1.0.0 — 2018-04-29

## README

**FourBoot Bootstrap Select Picker (Bootstrap 4)**
==========

javascript library to convert html select into beautiful **Bootstrap 4** dropdown

### Changelog
v2.0.0 (2018/08/04)
* fixed issue (deselect-all dont work)[https://github.com/IbraheemAlnabriss/four-boot/issues/1]
* fixed issue (added translation feature)[https://github.com/IbraheemAlnabriss/four-boot/issues/2]
* fixed issue (width size is over)[https://github.com/IbraheemAlnabriss/four-boot/issues/5]
* fixed issue (Error on IE 11)[https://github.com/IbraheemAlnabriss/four-boot/issues/6]

### Documentation
```
https://IbraheemAlnabriss.github.io/four-boot/
```

### Dependencies:

* JQuery 1.8+
* Bootstrap 4.0+ (preferred 4.1)

### CDNJS:
The folks at CDNJS host a copy of the library. The CDN is updated after the release is made public, which means there is a delay between the publishing of a release and its availability on the CDN, so keep that in mind. Just use these links:

```
Not Supported Yet :(
```

### JSdeliver:

```
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/four-boot@1.0.0/dist/JQuery.four-boot.css">
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/four-boot@1.0.0/dist/JQuery.four-boot.min.css">

<script src="https://cdn.jsdelivr.net/npm/four-boot@1.0.0/dist/JQuery.four-boot.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/four-boot@1.0.0/dist/JQuery.four-boot.js"></script>
```

### Unpkg:

```
<link rel="stylesheet" type="text/css" href="https://unpkg.com/four-boot@1.0.0/dist/JQuery.four-boot.css">
<link rel="stylesheet" type="text/css" href="https://unpkg.com/four-boot@1.0.0/dist/JQuery.four-boot.min.css">

<script src="https://unpkg.com/four-boot@1.0.0/dist/JQuery.four-boot.min.js"></script>
<script src="https://unpkg.com/four-boot@1.0.0/dist/JQuery.four-boot.js"></script>
```

### Install with Bower:
```
Not Supported Yet :(
```

### Install with npm:
```
npm install four-boot
```


### Usage:
Create your ```<select>``` then apply four-boot using js code.

```html
<select class="four-boot-select" >
	<option selected value="apple">apple</option>
	<option value="banana">banana</option>
	<option value="watermelon">watermelon</option>
	<option value="blueberries">blueberries</option>
	<option value="apricots">apricots</option>
	<option value="cantaloupe">cantaloupe</option>
</select>
```
Options can be passed via data attributes or JavaScript.

```
$('select').fourBoot();
//OR
$('select').fourBoot({
	class:"btn-danger",
	height:"192px",
	liveSearch:true
});

```

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