An HTML element.
Formats the payload of an action.
Original payload.
Modified payload.
Determine the name of the action that should be associated with the node.
The action name is determined from
the tag's data-action
, name
or id
attribute (in that order).
A HTML element.
Name of action or null.
Determine the name of the signal that should be listened to from the backend.
The signal name is determined from the data-signal
,
data-action
, name
or id
attribute (in that order.)
For all attributes apart from data-signal
, the value is wrapped in an
object like { data: value-of-attribute }
. The data-signal
value
can contain a :
which will be used to create an object as well. That means
that data-signal="data:myvalue"
gives the same result as data-action="myvalue"
.
A HTML element.
Name of a signal or null.
Format the value.
The default implementation returns a JSON.stringify()
version for values
that are typeof value == 'object'
. Otherwise it passes the value through.
Value as represented in the backend.
Formatted representation of the value.
Reads the value.
Reads the value.
Determine whether to skip this element.
This can be forced by adding a data-skipwire=true
attribute
to the HTML tag.
A HTML element.
Wire all text.
Connection to use.
Generated using TypeDoc
Data bound text elements.
Wired to
<span>
,<p>
,<div>
,<i>
and<b>
tags with adata-action
attribute specifying the action name.