task-lists-element - Vaadin Add-on Directory
Drag and drop task list items.# <task-lists> element
Drag and drop task list items.
## Installation
```
$ npm install --save @github/task-lists-element
```
## Usage
```js
import '@github/task-lists-element'
```
```html
```
## Events
```js
const list = document.querySelector('task-lists')
list.addEventListener('task-lists-check', function(event) {
const {position, checked} = event.detail
console.log(position, checked)
})
list.addEventListener('task-lists-move', function(event) {
const {src, dst} = event.detail
console.log(src, dst)
})
```
## Browser support
Browsers without native [custom element support][support] require a [polyfill][].
- Chrome
- Firefox
- Safari
- Microsoft Edge
[support]: https://caniuse.com/#feat=custom-elementsv1
[polyfill]: https://github.com/webcomponents/custom-elements
## Development
```
npm install
npm test
```
## License
Distributed under the MIT license. See LICENSE for details.
View on GitHub- Hubot
- Bender
- BB-8
- WALL-E
View on NPM
task-lists-element version 0.1.0
### Dependencies
task-lists-element version 0.2.0
### Dependencies
task-lists-element version 0.2.1
### Dependencies
task-lists-element version 0.3.0
### Dependencies
task-lists-element version 0.4.0
### Dependencies
task-lists-element version 1.0.0
### Dependencies