Namespacedijit.typematic

dojo.require("dijit");
defined in dijit/_base/typematic.js

These functions are used to repetitively call a user specified callback method when a specific key or mouse click over a specific DOM node is held down for a specific amount of time. Only 1 such event is allowed to occur on the browser page at 1 time.

Jump to FunctionsConstructorsBack to top

Stop an ongoing timed, repeating callback sequence.
Constructordijit.typematic.trigger(evt, _this: Object, node: DOMNode, callback: Function, obj: Object, subsequentDelay: Number, initialDelay: Number)
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:

Jump to ConstructorsFunctionsBack to top

Functiondijit.typematic.addKeyListener(node: DOMNode, keyObject: Object, _this: Object, callback: Function, subsequentDelay: Number, initialDelay: Number)
Start listening for a specific typematic key.
Functiondijit.typematic.addListener(mouseNode: Node, keyNode: Node, keyObject: Object, _this: Object, callback: Function, subsequentDelay: Number, initialDelay: Number)
Start listening for a specific typematic key and mouseclick. This is a thin wrapper to addKeyListener and addMouseListener.
Functiondijit.typematic.addMouseListener(node: DOMNode, _this: Object, callback: Function, subsequentDelay: Number, initialDelay: Number)
Start listening for a typematic mouse click. See the trigger method for other parameters. Returns an array of dojo.connect handles