View Source Tamnoon.DOM.Actions.SetValue (Tamnoon v1.0.0-rc.3)
An action that will set the value of the :target node to :value.
Summary
Functions
Returns whether the argument is a Tamnoon.DOM.Actions.SetValue.t/0, or a map with
the necessary properties to construct one (via new!/1).
Constructs a Tamnoon.DOM.Actions.SetValue.t/0 with the following arguments
Types
@type t() :: %Tamnoon.DOM.Actions.SetValue{ target: Tamnoon.DOM.Node.t(), value: String.t() | boolean() | number() }
Functions
Returns whether the argument is a Tamnoon.DOM.Actions.SetValue.t/0, or a map with
the necessary properties to construct one (via new!/1).
Constructs a Tamnoon.DOM.Actions.SetValue.t/0 with the following arguments:
:target: aTamnoon.DOM.Node.t/0.:value: aString.t/0, boolean or number.