Constructordijit.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

function (evt, /*Object*/ _this, /*DOMNode*/ node, /*Function*/ callback, /*Object*/ obj, /*Number*/ subsequentDelay, /*Number*/ initialDelay) (view source)
parametertypedescription
evt key or mouse event object
_thisObjectpointer to the user's widget space.
nodeDOMNodethe DOM node object passed in
callbackFunctionfunction 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
objObjectuser space object used to uniquely identify each typematic sequence
subsequentDelayNumberif > 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
initialDelayNumberthe number of milliseconds until the 2nd event occurs, default=500ms

PropertiesBack to top