Span

constructor()

Default constructor.


constructor(element: StyledElement)

Initializes a Span given the styling attributes provided in element.

Parameters

element

a StyledElement with attributes to apply to Span


constructor(text: String)

Initializes a Span with the given text.

Parameters

text

text body for Span