Class event

Hierarchy

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(): event

Returns

event

Properties

public useCapture: boolean

Methods

public capture()

public define(name: string, meta: Object)

Parameters

  • name: string
  • meta: Object

public fire(eventName: string, data?: Object, editor?: editor): any

Parameters

  • eventName: string
  • data?: Object optional
  • editor?: editor optional

Returns

any

public fireOnce(eventName: string, data?: Object, editor?: editor): any

Parameters

  • eventName: string
  • data?: Object optional
  • editor?: editor optional

Returns

any

public hasListeners(eventName: string): boolean

Parameters

  • eventName: string

Returns

boolean

public static implementOn(targetObject: Object)

Parameters

  • targetObject: Object

public on(eventName: string, listenerFunction: (eventInfo: CKEDITOR.eventInfo) => void, scopeObj?: Object, listenerData?: Object, priority?: number)

Parameters

  • eventName: string
  • listenerFunction: (eventInfo: CKEDITOR.eventInfo) => void
  • scopeObj?: Object optional
  • listenerData?: Object optional
  • priority?: number optional

public once(eventName: string, listenerFunction: (eventInfo: CKEDITOR.eventInfo) => void, scopeObj?: Object, listenerData?: Object, priority?: number)

Parameters

  • eventName: string
  • listenerFunction: (eventInfo: CKEDITOR.eventInfo) => void
  • scopeObj?: Object optional
  • listenerData?: Object optional
  • priority?: number optional

public removeAllListeners()

public removeListener(eventName: string, listenerFunction: (eventInfo: CKEDITOR.eventInfo) => void)

Parameters

  • eventName: string
  • listenerFunction: (eventInfo: CKEDITOR.eventInfo) => void