dijit.typematic.trigger
dojo.require("dijit");
defined in dijit/_base/typematic.js
Start a timed, repeating callback sequence. If already started, the function call is ignored. This method is not normally called by the user but can be when the normal listener code is insufficient. Parameters:
Usage
parameter | type | description |
---|---|---|
evt | key or mouse event object | |
_this | Object | pointer to the user's widget space. |
node | DOMNode | the DOM node object passed in |
callback | Function | function to call until the sequence is stopped called with 3 parameters: count: integer representing number of repeated calls (0..n) with -1 indicating the iteration has stopped |
obj | Object | user space object used to uniquely identify each typematic sequence |
subsequentDelay | Number | if > 1, the number of milliseconds until the 3->n events occur or else the fractional time multiplier for the next event's delay, default=0.9 |
initialDelay | Number | the number of milliseconds until the 2nd event occurs, default=500ms |