GenDOM.Node (gen_dom v0.0.1)
Summary
Functions
Returns a specification to start this module under a supervisor.
Creates a new Node and returns the Node struct.
Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
Creates a new Node and returns the Node struct.
This is a convenience function that calls start_link and then immediately gets the Node struct.
Examples
iex> {:ok, node} = GenDOM.Node.new([])
iex> %GenDOM.Node{} = node