Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hokaccha/jquery.ui.slidedownstream


https://github.com/hokaccha/jquery.ui.slidedownstream

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# jquery.ui.slideDownStream

## overview

This is jQuery Plugin using $.widget. slideDown animation is added to queue and it processes it sequentially.

demo site url:
[https://dl.dropbox.com/u/336104/js/jquery-ui-slideDownStream/sample/index.html](https://dl.dropbox.com/u/336104/js/jquery-ui-slideDownStream/sample/index.html)

## options

### slideDownSpeed

Slide down animation speed. Same as second argument of jQuery.slideDown. default value is 200.

### intervalTime

Waiting time until the following element is added. default value is 200

### autoStart

if this option is true, start state is wait. default is false. default value is false.

## event

### sdstream.insert

This event is triggered when slide down end.

### sdstream.statechange

This event is triggered when state change.

## property

### queue

Item list.

### state

Now state. value is process or wait or stop. `process` is processing queue. `wait` is waiting added queue. `stop` dosent process added queue.

## method

### pushQueue(jQueryObject)

Push item in Queue. Argument should be jQuery object.

### clearQueue

Clear queue values.

### start

Change state process or wait.

### stop

Change state to stop.