allowsElement method - NodeValidatorBuilder class - dart:html library (original) (raw)

description

bool allowsElement(

  1. Element element )

override

Returns true if the tagName is an accepted type.

Implementation

bool allowsElement(Element element) {
  return _validators.any((v) => v.allowsElement(element));
}