allowCustomElement method

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

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

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

This will allow the elements as custom tags (such as <x-foo></x-foo>), but will not allow tag extensions. Use allowTagExtension to allow tag extensions.