hyper function

Element hyper (String tag, { Map<String, String> attrs, List<Element> children })

A convience function that creates an instance of Element. Primarily used when you want to create a non-standard element such as <custom-element>.

Implementation

Element hyper(
  String tag, {
  Map<String, String> attrs,
  List<Element> children,
}) =>
    Element(tag, attrs: attrs, children: children);