Expand all

OO.ui.HtmlSnippet

Constructor

new OO.ui.HtmlSnippet(content) #

Wraps an HTML snippet for use with configuration values which default to strings. This bypasses the default html-escaping done to string values.

Parameters:

Name Type Description
content string

HTML content

Source:

Wraps an HTML snippet for use with configuration values which default to strings.

Methods

toString() → {string} #

Render into HTML.

Source:

Returns:

Unchanged HTML snippet.

Type
string
Render into HTML.