hl.dsp.window.drag

hl.dsp.window.drag(spec?: table)

Create a dispatcher.

Signature

hl.dsp.window.drag(spec?: table): HL.Dispatcher

Parameters

windowHL.WindowSelector, optional

Target window where supported.

Returns

dispatcherHL.Dispatcher

Dispatcher object returned by this function.

Examples

hl.dispatch(hl.dsp.window.drag())

Notes

Some no-argument window dispatchers still accept an optional window field through the shared window-upvalue helper when the implementation calls it.

See also

HL.Dispatcher

Dispatcher object returned by this function.

hl.bind()

Bind a dispatcher to a key.

hl.dispatch()

Execute a dispatcher immediately.