template function

Element template(
  1. dynamic children, {
  2. String? shadowrootmode,
  3. String? id,
  4. String? className,
  5. Map<String, dynamic>? attributes,
})

Implementation

Element template(
  dynamic children, {
  String? shadowrootmode,
  String? id,
  String? className,
  Map<String, dynamic>? attributes,
}) => _el(
  'template',
  children,
  id: id,
  className: className,
  attributes: {'shadowrootmode': shadowrootmode, ...?attributes},
);