use web/html
maketag
( t
tag name → e
element object )Given a string tag name, creates a new HTML tag.
popup
( d
dimensions array → w
window object )Creates a popup window, with the dimensions and placement specified in
the dimensions array d
. In order, the elements of d
are top, left, width, and height.
The rest are ignored.
tag.put
( x
item to append e
element to append to → )Appends a string of text or another HTML node to the element.
See Also: pop.put
pop.put
( x
item to append w
window object → )Appends a string of text or another HTML node to the popup’s <body>
tag.
See Also: tag.put
tag.clear
( e
→ )Empties the contents of the element.
See Also: pop.clear
pop.clear
( w
→ )Empties the entire popup window.
See Also: tag.clear
tag.find
( e
s
→ c
)Searches for the first child element of e
that matches the selector s
and returns it.
See Also: tag.clear
tag.style
( v
style value e
element to style s
style name → )Applies the CSS style pair `s
: v
;to the element
e`.
docs@04547c7