Module: delite/typematic

delite/typematic

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 one such event is allowed to occur on the browser page at one time.

Show inherited

Type Definitions

Handle

Handle to cancel a listener.

Properties:
Name Type Description
remove function

cancel the listener

Source:

TriggerCallback(count, node, evt)

Callback function passed to addKeyListener(), addMouseListener(), and addListener().

Parameters:
Name Type Description
count number

Integer representing number of repeated calls (0..n) with -1 indicating the iteration has stopped.

node Element

The DOM node object passed in.

evt Event

Key or mouse event object.

Source: