Class ui

Hierarchy

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(editor: editor): ui

Parameters

Returns

ui

Properties

public useCapture: boolean

Methods

public add(name: string, type: Object, definition: Object)

Parameters

  • name: string
  • type: Object
  • definition: Object

public addButton(name: string, definition: button)

Parameters

  • name: string
  • definition: button

public addHandler(type: Object, handler: Object)

Parameters

  • type: Object
  • handler: Object

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 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