goog.html.legacyconversions
Functions
safeHtmlFromString( html ) → goog.html.SafeHtml
goog.html.SafeHtml
Performs an "unchecked conversion" from string to SafeHtml for legacy API purposes.
Please read fileoverview documentation before using.
Parameters |
| ||||
---|---|---|---|---|---|
Returns |
|
safeScriptFromString( script ) → goog.html.SafeScript
goog.html.SafeScript
Performs an "unchecked conversion" from string to SafeScript for legacy API purposes.
Please read fileoverview documentation before using.
Parameters |
| ||||
---|---|---|---|---|---|
Returns |
|
safeStyleFromString( style ) → goog.html.SafeStyle
goog.html.SafeStyle
Performs an "unchecked conversion" from string to SafeStyle for legacy API purposes.
Please read fileoverview documentation before using.
Parameters |
| ||||
---|---|---|---|---|---|
Returns |
|
safeStyleSheetFromString( styleSheet ) → goog.html.SafeStyleSheet
goog.html.SafeStyleSheet
Performs an "unchecked conversion" from string to SafeStyleSheet for legacy API purposes.
Please read fileoverview documentation before using.
Parameters |
| ||||
---|---|---|---|---|---|
Returns |
|
safeUrlFromString( url ) → goog.html.SafeUrl
goog.html.SafeUrl
Performs an "unchecked conversion" from string to SafeUrl for legacy API purposes.
Please read fileoverview documentation before using.
Parameters |
| ||||
---|---|---|---|---|---|
Returns |
|
setReportCallback( callback ) → void
void
Sets a function that will be called every time a legacy conversion is performed. The function is called with no parameters but it can use goog.debug.getStacktrace to get a stacktrace.
Parameters |
|
---|
trustedResourceUrlFromString( url ) → goog.html.TrustedResourceUrl
goog.html.TrustedResourceUrl
Performs an "unchecked conversion" from string to TrustedResourceUrl for legacy API purposes.
Please read fileoverview documentation before using.
Parameters |
| ||||
---|---|---|---|---|---|
Returns |
|