void allowTemplating( )

Allow templating elements (such as <template> and template-related attributes.

This still requires other validators to allow regular attributes to be bound (such as allowHtml5).

Source

/**
 * Allow templating elements (such as <template> and template-related
 * attributes.
 *
 * This still requires other validators to allow regular attributes to be
 * bound (such as [allowHtml5]).
 */
void allowTemplating() {
  add(new _TemplatingNodeValidator());
}