Class RenderBuffer

Hierarchy

Index

Properties

Methods

Properties

public classes: Array<any>

public elementAttributes: {}

public elementId: string

public elementProperties: {}

public elementStyle: {}

public elementTag: string

public parentBuffer: RenderBuffer

Methods

public addClass(className: string): RenderBuffer

Parameters

  • className: string

Returns

RenderBuffer

public attr(name: string, value: any): any

Parameters

  • name: string
  • value: any

Returns

any

public element(): HTMLElement

Returns

HTMLElement

public id(id: string): RenderBuffer

Parameters

  • id: string

Returns

RenderBuffer

public prop(name: string, value: string): any

Parameters

  • name: string
  • value: string

Returns

any

public push(string: string): RenderBuffer

Parameters

  • string: string

Returns

RenderBuffer

public removeAttr(name: string): RenderBuffer

Parameters

  • name: string

Returns

RenderBuffer

public removeProp(name: string): RenderBuffer

Parameters

  • name: string

Returns

RenderBuffer

public string(): string

Returns

string

public style(name: string, value: string): RenderBuffer

Parameters

  • name: string
  • value: string

Returns

RenderBuffer