Skip to content

Latest commit

 

History

History
105 lines (71 loc) · 2.5 KB

api.md

File metadata and controls

105 lines (71 loc) · 2.5 KB

Mind

Kind: global class

mind.#insertSibling(el)

Create a sibling node.

Kind: instance method of Mind

Param Type Description
el Object Target element.

mind.#addChild(el)

Create a child node.

Kind: instance method of Mind

Param Type Description
el Object Target element.

mind.#moveUpNode(el)

Move the target node up.

Kind: instance method of Mind

Param Type Description
el Object Target element.

mind.#moveDownNode(el)

Move the target node down.

Kind: instance method of Mind

Param Type Description
el Object Target element.

mind.#removeNode(el)

Remove the target node.

Kind: instance method of Mind

Param Type Description
el Object Target element.

mind.#moveNode(from, to)

Move the target node to another node (as child node).

Kind: instance method of Mind

Param Type Description
from Object The target you want to move.
to Object The target you want to move to.

mind.#beginEdit(el)

Begin to edit the target node.

Kind: instance method of Mind

Param Type Description
el Object Target element.

Mind..E(id) ⇒ element

Kind: static method of Mind
Returns: element - Target element.

Param Type Description
id string Node id.