Class Attribute

Index

Constructor methods

Methods

Constructor methods

constructor(node: Element, name: string, value: string): Attribute

Parameters

  • node: Element
  • name: string
  • value: string

Returns

Attribute

constructor(node: Element, name: string, value: string, ns: Namespace): Attribute

Parameters

Returns

Attribute

Methods

public name(): string

Returns

string

public namespace(): Namespace

Returns

Namespace

public namespace(ns: Namespace): Namespace

Parameters

Returns

Namespace

public nextSibling(): Attribute

Returns

Attribute

public node(): Element

Returns

Element

public prevSibling(): Attribute

Returns

Attribute

public remove()

public value(): string

Returns

string