Interface IHTML

Index

Properties

Methods

Properties

optional public Cookie?: ICookie

Methods

public Element(type: string, attributes: any, contents: any): any

Parameters

  • type: string
  • attributes: any
  • contents: any

Returns

any

public TextNode(text: string): any

Parameters

  • text: string

Returns

any

public addElement(parent: any, type: string, attributes: any, content: any): any

Parameters

  • parent: any
  • type: string
  • attributes: any
  • content: any

Returns

any

public addText(parent: any, text: string): any

Parameters

  • parent: any
  • text: string

Returns

any

public getScript(script: string): string

Parameters

  • script: string

Returns

string

public setScript(script: string, text: string)

Parameters

  • script: string
  • text: string