SimpleHtmlComponent constructor
SimpleHtmlComponent(
- DomService domService,
- Element _element,
- @Optional.new() @Inject.new(simpleHtmlUriWhitelist) List<
Uri> ? domainWhitelist, - @Attribute.new('doNotVerifyUrlDestinations') String? externalUrisAllowed,
Implementation
SimpleHtmlComponent(
DomService domService,
this._element,
@Optional() @Inject(simpleHtmlUriWhitelist) List<Uri>? domainWhitelist,
@Attribute('doNotVerifyUrlDestinations') String? externalUrisAllowed)
: super(
domService,
_inlineElementValidatorBuilder(
domainWhitelist ?? _defaultUriWhitelist,
attributeToBool(externalUrisAllowed)));