cyclejs-community/cyclejs-sortable

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

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

cyclejs-sortable

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

Examples

You can check out live versions of the examples here:

Installation

npm install --save cyclejs-sortable

Basic Usage

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'])
    ]));
}


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.