View Source Tamnoon.DOM.Actions.AddChild (Tamnoon v1.0.0-rc.3)
An action that will append the :child node to the :parent node's children.
Summary
Functions
Returns whether the argument is a Tamnoon.DOM.Actions.AddChild.t/0, or a map with
the necessary properties to construct one (via new!/1).
Constructs a Tamnoon.DOM.Actions.AddChild.t/0 with the following arguments
Types
@type t() :: %Tamnoon.DOM.Actions.AddChild{ child: Tamnoon.DOM.Node.t(), parent: Tamnoon.DOM.Node.t() }
Functions
Returns whether the argument is a Tamnoon.DOM.Actions.AddChild.t/0, or a map with
the necessary properties to construct one (via new!/1).
Constructs a Tamnoon.DOM.Actions.AddChild.t/0 with the following arguments:
:parent: aTamnoon.DOM.Node.t/0.:child: aTamnoon.DOM.Node.t/0.