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