Crate silkenweb_html[][src]

Builders for HTML elements.

Each HTML element has a function, a struct and a builder struct. The function is a constructor for the builder. The builder has methods for each attribute for that element, as well as methods for each event. For example:

use web_sys as dom;
let link: ABuilder = a()
    .on_click(|event: dom::MouseEvent, link: dom::HtmlAnchorElement| {});



All the HTML elements