hyper library

Hyper is a library that makes it easy to build strings of HTML using Dart.

It's intentionally kept simple, and produces nothing but strings of HTML.

Classes

Element
The return type of a hyper function representing an HTML element including it's attributes and children.

Functions

hyper(String tag, { Map<String, String> attrs, List<Element> children }) Element
A convience function that creates an instance of Element. Primarily used when you want to create a non-standard element such as <custom-element>.
t(String text) Element
Function that creates a text node.