Skip to content

Commit

Permalink
BUMP to beta.14
Browse files Browse the repository at this point in the history
  • Loading branch information
Damian Dulisz committed Feb 25, 2017
1 parent 89d993e commit 9f0f775
Show file tree
Hide file tree
Showing 8 changed files with 544 additions and 34 deletions.
3 changes: 1 addition & 2 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.DS_Store
node_modules/
lib/
npm-debug.log
selenium-debug.log
test/unit/coverage
Expand All @@ -12,11 +11,11 @@ test/e2e/reports
.tern-project
docs/
gh-pages/
src/
static/
test/
build/
.eslintignore
index.html
config.js
bower.json
v1/
43 changes: 15 additions & 28 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ Probably the most complete *selecting* solution for Vue.js 2.0, without jQuery.

## Install & basic usage

``` bash
npm install vue-multiselect
```bash
npm install vue-multiselect@next
```

``` html
```vue
<template>
<div>
<multiselect
Expand All @@ -40,34 +40,21 @@ npm install vue-multiselect
</multiselect>
</div>
</template>
```
``` javascript
import Multiselect from 'vue-multiselect'
export default {
components: { Multiselect },
data () {
return {
selected: null,
options: ['list', 'of', 'options']
<script>
import Multiselect from 'vue-multiselect'
export default {
components: { Multiselect },
data () {
return {
selected: null,
options: ['list', 'of', 'options']
}
}
}
}
```
</script>
You can now author custom components based on *vue-multiselect* mixins.

``` javascript
import { multiselectMixin, pointerMixin } from 'vue-multiselect'
export default {
mixins: [multiselectMixin, pointerMixin],
data () {
return {
selected: null,
options: ['list', 'of', 'options']
}
}
}
<style src="vue-multiselect/dist/vue-multiselect.min.css"></style>
```

## Roadmap:
Expand Down Expand Up @@ -449,7 +436,7 @@ props: {
# serve with hot reload at localhost:8080
npm run dev

# lib distribution build with minification
# distribution build with minification
npm run bundle

# build the docs into gh-pages
Expand Down
30 changes: 30 additions & 0 deletions lib/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
'use strict';

Object.defineProperty(exports, "__esModule", {
value: true
});
exports.deepClone = exports.pointerMixin = exports.multiselectMixin = exports.Multiselect = undefined;

var _Multiselect = require('./Multiselect');

var _Multiselect2 = _interopRequireDefault(_Multiselect);

var _multiselectMixin = require('./multiselectMixin');

var _multiselectMixin2 = _interopRequireDefault(_multiselectMixin);

var _pointerMixin = require('./pointerMixin');

var _pointerMixin2 = _interopRequireDefault(_pointerMixin);

var _utils = require('./utils');

var _utils2 = _interopRequireDefault(_utils);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

exports.default = _Multiselect2.default;
exports.Multiselect = _Multiselect2.default;
exports.multiselectMixin = _multiselectMixin2.default;
exports.pointerMixin = _pointerMixin2.default;
exports.deepClone = _utils2.default;
Loading

0 comments on commit 9f0f775

Please sign in to comment.