Class: PullDown

PullDown

new PullDown(cfg)

A pulldown to refresh plugin for xscroll.
Name Type Description
cfg object
Name Type Description
height number
content string default html for pulldown
downContent string html for pulldown when scrollTop is smaller than cfg.height
upContent string html for pulldown when scrollTop is larger than cfg.height
loadingContent string html for pulldown when released
clsPrefix string class prefix which default value is "xs-plugin-pulldown-"

Extends

Members

staticPullDown.pluginIdstring

a pluginId

Methods

staticPullDown.pluginDestructor(){PullDown}

detroy the plugin

staticPullDown.pluginInitializer(){PullDown}

plugin initializer

staticPullDown.render(){PullDown}

render pulldown plugin

staticPullDown.reset(callback){PullDown}

reset the pulldown plugin
Name Type Description
callback function