javascript - What strings can Dojo 1.7 dojo/on accept for type parameter? -
what strings can dojo/on accept type parameter.
http://livedocs.dojotoolkit.org/dojo/on
describes "this name of event type dispatched (like select). event may standard event (like click) or custom event (like finished)." there list somewhere of types of things can put in here? have same capacity filter events dispatch on if using dojo/query?
i've browsed dojo 1.8 api docs, , if select specific dijit can see events in event summary section. example dijit/tree
:
- onblur() called when widget stops being "active" because focus moved outside of it, or user clicked somewhere outside of it, or widget hidden.
- onclick(item, node, evt) callback when tree node clicked
- onclose(item, node) callback when node closed
- ondblclick(item, node, evt) callback when tree node double-clicked
- ...
- onblur() called when widget stops being "active" because focus moved outside of it, or user clicked somewhere outside of it, or widget hidden.
- onchange() called when selection changed.
- onfocus() called when widget becomes "active" because or widget inside of either has focus, or has been clicked.
- onitemrollout() called when item renderer has been rolled out.
- onitemrollover() called when item renderer has been hovered.
- onrendererupdated() called when renderer has been updated.
i'm not sure if there (easy) way of aggregating events across components. might case of reading docs component interested in.
Comments
Post a Comment