Class node

Hierarchy

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(domNode: Node): node

Parameters

  • domNode: Node

Returns

node

Properties

public $: HTMLElement

Methods

public appendTo(element: element): element

Parameters

Returns

element

public clearCustomData()

public clone(includeChildren: boolean, cloneId: boolean): node

Parameters

  • includeChildren: boolean
  • cloneId: boolean

Returns

node

public equals(object: any): boolean

Parameters

  • object: any

Returns

boolean

public getAddress(normalized: boolean): Array<Object>

Parameters

  • normalized: boolean

Returns

Array<Object>

public getAscendant(reference: string, includeSelf?: boolean): node

Parameters

  • reference: string
  • includeSelf?: boolean optional

Returns

node

public getCommonAncestor(node: Object)

Parameters

  • node: Object

public getCustomData(key: string): any

Parameters

  • key: string

Returns

any

public getDocument(): document

Returns

document

public getIndex(normalized?: boolean): number

Parameters

  • normalized?: boolean optional

Returns

number

public getKey(): number

Returns

number

public getKeystroke(): number

Returns

number

public getNext(evaluator?: Function): node

Parameters

  • evaluator?: Function optional

Returns

node

public getNextSourceNode(startFromSibling: Object, nodeType: Object, guard: Object)

Parameters

  • startFromSibling: Object
  • nodeType: Object
  • guard: Object

public getParent(allowFragmentParent?: boolean): element

Parameters

  • allowFragmentParent?: boolean optional

Returns

element

public getParents(closerFirst?: boolean): node[]

Parameters

  • closerFirst?: boolean optional

Returns

node[]

public getPhase(): number

Returns

number

public getPhaseOffset(): position

Returns

position

public getPosition(otherNode: Object)

Parameters

  • otherNode: Object

public getPrevious(evaluator?: Function): node

Parameters

  • evaluator?: Function optional

Returns

node

public getPreviousSourceNode(startFromSibling: Object, nodeType: Object, guard: Object)

Parameters

  • startFromSibling: Object
  • nodeType: Object
  • guard: Object

public getPrivate(): any

Returns

any

public getTarget(): node

Returns

node

public getUniqueId(): number

Returns

number

public hasAscendant(name: Object, includeSelf: any): boolean

Parameters

  • name: Object
  • includeSelf: any

Returns

boolean

public hasNext(): boolean

Returns

boolean

public hasPrevious(): boolean

Returns

boolean

public insertAfter(node: node): node

Parameters

Returns

node

public insertBefore(node: node): node

Parameters

Returns

node

public insertBeforeMe(node: node): node

Parameters

Returns

node

public isReadOnly(): boolean

Returns

boolean

public ltrim()

public move(preserveChildren?: boolean): node

Parameters

  • preserveChildren?: boolean optional

Returns

node

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

Parameters

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

Returns

Object

public preventDefault(stopPropagation: boolean)

Parameters

  • stopPropagation: boolean

public removeAllListeners()

public removeCustomData(key: string): Object

Parameters

  • key: string

Returns

Object

public replace(nodeToReplace: node)

Parameters

  • nodeToReplace: node

public rtrim()

public setCustomData(key: string, value: Object): domObject

Parameters

  • key: string
  • value: Object

Returns

domObject

public stopPropagation()

public trim()