zui.ScrollHelperPlugin Class
ScrollHelperPlugin is a ScrollView plugin that help to handle A/IMG dragging bug.
Constructor
zui.ScrollHelperPlugin
()
Methods
handleClick
()
protected
internal click event handler
handleMouseDown
()
protected
internal mousedown event handler
syncScroll
()
sync scrollView scroll position and height
Attributes
noClickSelector
Boolean
Default css selector to help disable click when scrollView was scrolled
Default: 'a'
Fires event noClickSelectorChange
Fires when the value for the configuration attribute noClickSelector
is
changed. You can listen for the event using the on
method if you
wish to be notified before the attribute's value has changed, or
using the after
method if you wish to be notified after the
attribute's value has changed.
Parameters:
-
e
EventFacadeAn Event Facade object with the following attribute-specific properties added:
noDragSelector
String
Default css selector to help disable browser native dragging
Default: 'a, img'
Fires event noDragSelectorChange
Fires when the value for the configuration attribute noDragSelector
is
changed. You can listen for the event using the on
method if you
wish to be notified before the attribute's value has changed, or
using the after
method if you wish to be notified after the
attribute's value has changed.
Parameters:
-
e
EventFacadeAn Event Facade object with the following attribute-specific properties added: