Skip to content
This repository has been archived by the owner on Dec 7, 2021. It is now read-only.

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
Mobius1 committed Mar 30, 2017
1 parent 2a25cf4 commit 1878adb
Showing 1 changed file with 13 additions and 16 deletions.
29 changes: 13 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Selectr [![Build Status](https://travis-ci.org/Mobius1/Selectr.svg?branch=master)](https://travis-ci.org/Mobius1/Selectr) [![npm version](https://badge.fury.io/js/mobius1-selectr.svg)](https://badge.fury.io/js/mobius1-selectr) [![license](https://img.shields.io/github/license/mashape/apistatus.svg)](https://github.com/Mobius1/Selectr/blob/master/LICENSE)
A lightweight dependency-free select box replacement written in vanilla javascript. Similar to Select2 and Chosen without the dependencies.

Supports most modern browsers including IE9.

Features:

* Supports single and multiple select boxes
Expand All @@ -11,40 +13,39 @@ Features:
* Custom styling
* Much more...

### Check the demos out [here](http://mobius.ovh/docs/selectr/pages/demos) and the playground [here](http://codepen.io/Mobius1/full/jBqpze/).
[Demos](http://mobius.ovh/docs/selectr/pages/demos) | [Documentation](http://mobius.ovh/docs/selectr) | [Playground](http://codepen.io/Mobius1/full/jBqpze/)

---

## Install with bower
## Install

### bower

```
bower install mobius1-selectr --save
```

## Install with npm
### npm

```
npm install mobius1-selectr --save
```

## Manual Installation
## Browser

Include the CSS file ...
Grab the files from the CDN and include them in your page:

```html
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/selectr/2.1.0/selectr.min.css">
```
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/selectr/2.1.2/selectr.min.css">

... and the JS file...

```html
<script type="text/javascript" src="https://cdn.jsdelivr.net/selectr/2.1.0/selectr.min.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/selectr/2.1.2/selectr.min.js"></script>
```

CDN courtesy of [jsDelivr](http://www.jsdelivr.com/)

## Initialisation
---

## Initialisation

#### HTML

Expand Down Expand Up @@ -82,10 +83,6 @@ new Selectr('#mySelect', {
});
```

Supports most modern browsers including IE9 and above.

[Demos & Full Documentation](http://mobius.ovh/docs/selectr)

---

## Change Log
Expand Down

0 comments on commit 1878adb

Please sign in to comment.