allowCustomElement method

  1. @override
void allowCustomElement(
  1. String tagName, {
  2. UriPolicy? uriPolicy,
  3. Iterable<String>? attributes,
  4. Iterable<String>? uriAttributes,
})
override

Allow custom elements with the specified tag name and specified attributes.

This will allow the elements as custom tags (such as ), but will not allow tag extensions. Use allowTagExtension to allow tag extensions.

Implementation

@override
void allowCustomElement(String tagName,
    {UriPolicy? uriPolicy,
    Iterable<String>? attributes,
    Iterable<String>? uriAttributes}) {}