Bot releases are hidden (Show)
0.0.0-development
. by @lgarron in https://github.com/github/task-lists-element/pull/36
Full Changelog: https://github.com/github/task-lists-element/compare/v2.0.4...v2.0.5
Published by lgarron almost 2 years ago
Full Changelog: https://github.com/github/task-lists-element/compare/v2.0.3...v2.0.4
Published by dgreif about 2 years ago
Full Changelog: https://github.com/github/task-lists-element/compare/v2.0.2...v2.0.3
This release brings you a bug fix for list item position calculations.
https://github.com/github/task-lists-element/compare/v2.0.1...v2.0.2
This release brings changes to build and test tools and a bug fix when computing a task list item index.
Thanks to @chanakyabhardwajj for their contributions to this release 🙌🏻
https://github.com/github/task-lists-element/compare/v2.0.0...v2.0.1
https://github.com/github/task-lists-element/compare/v1.0.8...v2.0.0
Published by muan over 4 years ago
Add type to HTMLElementTagNameMap in typescript declaration file (#14)
https://github.com/github/task-lists-element/compare/v1.0.6...v1.0.7
https://github.com/github/task-lists-element/compare/v1.0.4...v1.0.5
https://github.com/github/task-lists-element/compare/v1.0.3...v1.0.4
Published by koddsson about 5 years ago
Drag and drop task list items.
$ npm install --save @github/task-lists-element
import '@github/task-lists-element'
<task-lists sortable>
<ul class="contains-task-list">
<li class="task-list-item">
<input type="checkbox" class="task-list-item-checkbox">
Hubot
</li>
<li class="task-list-item">
<input type="checkbox" class="task-list-item-checkbox">
Bender
</li>
</ul>
<ul class="contains-task-list">
<li class="task-list-item">
<input type="checkbox" class="task-list-item-checkbox">
BB-8
</li>
<li class="task-list-item">
<input type="checkbox" class="task-list-item-checkbox">
WALL-E
</li>
</ul>
</task-lists>
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)
})
Browsers without native custom element support require a polyfill.
npm install
npm test
Distributed under the MIT license. See LICENSE for details.
https://github.com/github/task-lists-element/compare/v1.0.2...v1.0.3
Event
type d4d69ddnpm update
2db3623https://github.com/github/task-lists-element/compare/v1.0.0...v1.0.1
Published by muan over 5 years ago
Stable release.
Published by muan over 5 years ago
task-lists:check
-> task-lists-check
task-lists:move
-> task-lists-move
Published by mislav over 5 years ago
Drop IE 11 support
Stop transforming custom element classes