Class elementPath

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(startNode: element, root: element): elementPath

Parameters

Returns

elementPath

Properties

public block: element

public blockLimit: element

public elements: element[]

public root: element

Methods

public compare(otherPath: elementPath): boolean

Parameters

Returns

boolean

public contains(query: string, excludeRoot: boolean, fromTop: boolean): element

Parameters

  • query: string
  • excludeRoot: boolean
  • fromTop: boolean

Returns

element

public contains(query: Array<string>, excludeRoot: boolean, fromTop: boolean): element

Parameters

  • query: Array<string>
  • excludeRoot: boolean
  • fromTop: boolean

Returns

element

public contains(query: (element: CKEDITOR.dom.element) => boolean, excludeRoot: boolean, fromTop: boolean): element

Parameters

  • query: (element: CKEDITOR.dom.element) => boolean
  • excludeRoot: boolean
  • fromTop: boolean

Returns

element

public contains(query: Object, excludeRoot: boolean, fromTop: boolean): element

Parameters

  • query: Object
  • excludeRoot: boolean
  • fromTop: boolean

Returns

element

public contains(query: element, excludeRoot: boolean, fromTop: boolean): element

Parameters

  • query: element
  • excludeRoot: boolean
  • fromTop: boolean

Returns

element

public direction(): string

Returns

string

public isContextFor(tag: string): boolean

Parameters

  • tag: string

Returns

boolean