Options
All
  • Public
  • Public/Protected
  • All
Menu

Type defining an object that can be supplied for an event listener.

Type parameters

  • T: Event

    DOM event type, e.g. MouseEvent

Hierarchy

Index

Properties

Optional arg

arg?: any

Argument that is supplied to the callback as a last parameter.

Optional comp

comp?: null | IComponent<{}, {}>

Component that will be set as a current component when the callback is invoked.

func

func: EventFuncType<T>

Callback function

Optional thisArg

thisArg?: any

Object that will be referenced by "this" within the callback function

Optional tickType

Type of scheduling the Mimbl tick after the callback function returns.

Optional useCapture

useCapture?: boolean

Flag indicating whether this event should be used as Capturing or Bubbling. The default value is false, that is, Bubbling.