View Source Tamnoon.DOM.Actions.RemoveNode (Tamnoon v1.0.0-rc.3)

An action that will remove the :target node from the DOM.

Summary

Functions

Returns whether the argument is a Tamnoon.DOM.Actions.RemoveNode.t/0, or a map with the necessary properties to construct one (via new!/1).

Constructs a Tamnoon.DOM.Actions.RemoveNode.t/0 with the following argument

Types

@type t() :: %Tamnoon.DOM.Actions.RemoveNode{target: Tamnoon.DOM.Node.t()}

Functions

@spec is_valid?(action_args :: any()) :: boolean()

Returns whether the argument is a Tamnoon.DOM.Actions.RemoveNode.t/0, or a map with the necessary properties to construct one (via new!/1).

@spec new!(action_args :: term()) :: %Tamnoon.DOM.Actions.RemoveNode{target: term()}

Constructs a Tamnoon.DOM.Actions.RemoveNode.t/0 with the following argument: