日本語

NodeRef

NodeRef<S> names an element on a page whose signals are S, for calling the element's DOM methods imperatively.

NodeRef

Attach one to an element with El::node_ref.

ItemSummary
NodeRef::newA reference named name.
focusA statement that focuses the element after the next render.
blurA statement that removes focus from the element.
selectA statement that selects the element's text, for an <input>.
scroll_into_viewA statement that scrolls the element into view.
show_popoverA statement that shows the element if it is a popover that is not open.
hide_popoverA statement that hides the element if it is an open popover.

DialogRef

DialogRef::dialog builds the <dialog> it names, so its statements always act on a dialog.

ItemSummary
DialogRef::newA reference named name.
dialogAn empty <dialog> that this reference names.
show_modalA statement that opens the dialog with showModal(), unless it is open.
closeA statement that closes the dialog, if it is open.