Class HtmlBuilder

Index

Constructor methods

Methods

Constructor methods

constructor(): HtmlBuilder

Returns

HtmlBuilder

Methods

public addAttribute(name: string, value: string)

Parameters

  • name: string
  • value: string

public addCommunitiesCssClass(cssClassName: string)

Parameters

  • cssClassName: string

public addCssClass(cssClassName: string)

Parameters

  • cssClassName: string

public renderBeginTag(tagName: string)

Parameters

  • tagName: string

public renderEndTag()

public toString(): string

Returns

string

public write(s: string)

Parameters

  • s: string

public writeEncoded(s: string)

Parameters

  • s: string