3.0.4 • Published 6 years ago

cyclejs-sortable v3.0.4

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

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

const main = isolate(
    makeSortable(Component, { itemSelector: 'div > div' }),
    'myScope'
);

function Component(sources)
{
    return {
        DOM: xs.of(div([
            div(['one']),
            div(['two']),
            div(['three']),
            div(['four'])
        ]));
    }
}
3.0.4

6 years ago

3.0.3

6 years ago

3.0.2

6 years ago

3.0.0

6 years ago

2.4.0

7 years ago

2.3.0

7 years ago

2.2.4

7 years ago

2.2.3

7 years ago

2.2.2

7 years ago

2.2.1

7 years ago

2.2.0

7 years ago

2.1.1

7 years ago

2.1.0

7 years ago

2.0.0

7 years ago

1.3.1

8 years ago

1.3.0

8 years ago

1.2.8

8 years ago

1.2.7

8 years ago

1.2.5

8 years ago

1.2.4

8 years ago

1.2.3

8 years ago

1.2.2

8 years ago

1.2.1

8 years ago

1.2.0

8 years ago

1.1.2

8 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago