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