Name: cyclejs-sortable
Owner: Cycle.js Community
Description: Makes all children of a selected component sortable
Created: 2016-09-05 09:17:16.0
Updated: 2018-05-07 11:42:16.0
Pushed: 2018-05-07 11:42:14.0
Homepage: null
Size: 1062
Language: TypeScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Makes all children of a selected component sortable
Github Repo: https://github.com/cyclejs-community/cyclejs-sortable
Full documentation: https://cyclejs-community.github.io/cyclejs-sortable/
NPM: https://www.npmjs.com/package/cyclejs-sortable
You can check out live versions of the examples here:
npm install --save cyclejs-sortable
For more information see the examples
t main = isolate(
makeSortable(Component, { itemSelector: 'div > div' }),
'myScope'
tion Component(sources)
return {
DOM: xs.of(div([
div(['one']),
div(['two']),
div(['three']),
div(['four'])
]));
}