Class node

Hierarchy

Index

Constructor methods

Methods

Constructor methods

constructor(): node

Returns

node

Methods

public getAscendant(condition: string): element

Parameters

  • condition: string

Returns

element

public getAscendant(condition: Object): element

Parameters

  • condition: Object

Returns

element

public getAscendant(condition: Function): element

Parameters

  • condition: Function

Returns

element

public getIndex(): number

Returns

number

public insertAfter(node: node)

Parameters

public insertBefore(node: node)

Parameters

public remove(preserveChildren?: boolean): node

Parameters

  • preserveChildren?: boolean optional

Returns

node

public replaceWith(node: node)

Parameters

public wrapWith(wrapper: element): element

Parameters

Returns

element