日本語

html functions

The hypersig::html module builds elements, lists, and conditional parts.

Functions

Besides these, the module has one function per common tag, such as div, p, button, input, and ul.

ItemSummary
elCreates an element with any tag.
eachRenders render once per item of list in the browser, and updates the rendered elements when the list changes.
each_keyedeach, with each item's element identified by key.
whenPuts el in the document only while cond is true.
partEmbeds the Part whose signals are the field at of this page.

Types

ItemSummary
ElAn HTML element belonging to a page whose signals are S.
NodeA node in the tree: an element, a run of text, or a template the browser expands.
EventA DOM event a statement can run on.
CustomEventAn event that a script, such as a custom element, dispatches on an element.
KeyA key that El::on_key filters keydown by.
ShortcutA Key and the modifiers held with it, which El::on_key and Page::on_key match.
OrientationA horizontal or vertical direction, which decides the arrow keys El::roving_focus uses.
StylesheetCSS text whose class selectors Stylesheet::class checks at compile time.
ClassA class name that El::class and El::class_when put on an element.