goog.html.sanitizer
Properties
expand_more
HtmlSanitizerAttributePolicy → {attributeName: string, policy: (function(string, {attributeName: (string|undefined), cssProperty: (string|undefined), tagName: (string|undefined)}=, {cssStyle: (CSSStyleDeclaration|null|undefined)}=, function(string, ?=, ?=, ?=): (string|null)=): (string|null)|null), tagName: string}
{attributeName: string, policy: (function(string, {attributeName: (string|undefined), cssProperty: (string|undefined), tagName: (string|undefined)}=, {cssStyle: (CSSStyleDeclaration|null|undefined)}=, function(string, ?=, ?=, ?=): (string|null)=): (string|null)|null), tagName: string}
Type for attribute policy configuration.
expand_more
Type for a policy function.
expand_more
HtmlSanitizerPolicyContext → {cssStyle: (CSSStyleDeclaration|null|undefined)}
{cssStyle: (CSSStyleDeclaration|null|undefined)}
Type for optional context objects to the policy handler functions.
expand_more
Type for optional hints to policy handler functions.
expand_more
HtmlSanitizerUrlPolicy → function(string, {attributeName: (string|undefined), cssProperty: (string|undefined), tagName: (string|undefined)}=): (goog.html.SafeUrl|null)
function(string, {attributeName: (string|undefined), cssProperty: (string|undefined), tagName: (string|undefined)}=): (goog.html.SafeUrl|null)
Type for a URL policy function.