TrustedTypePolicyOptions Class
https://w3c.github.io/trusted-types/dist/spec/#dictdef-trustedtypepolicyoptions
public sealed class TrustedTypePolicyOptionsConstructors
| Name | Description |
|---|---|
| TrustedTypePolicyOptions() |
TrustedTypePolicyOptions()
public TrustedTypePolicyOptions()No documentation is available.
Properties
| Name | Description |
|---|---|
| CreateHtml | Gets the callback used to create TrustedHTML values. |
| CreateParserOptions | Gets the callback used to create TrustedHTMLParserOptions values. |
| CreateScript | Gets the callback used to create TrustedScript values. |
| CreateScriptUrl | Gets the callback used to create TrustedScriptURL values. |
CreateHtml
TrustedTypes.csGets the callback used to create TrustedHTML values.
public CreateHtmlCallback? CreateHtml { get; init; }CreateParserOptions
TrustedTypes.csGets the callback used to create TrustedHTMLParserOptions values.
public CreateParserOptionsCallback? CreateParserOptions { get; init; }CreateScript
TrustedTypes.csGets the callback used to create TrustedScript values.
public CreateScriptCallback? CreateScript { get; init; }CreateScriptUrl
TrustedTypes.csGets the callback used to create TrustedScriptURL values.
public CreateScriptUrlCallback? CreateScriptUrl { get; init; }