Flag indicating whether the item can be reordered or not.
Unique ID of the element. It should be computed once, before any adaptation, using getID method.
Node of the element.
Group element owning the item.
Selector used to find the node. If no selector was used, it should be set to NO_SELECTOR.
Type of item elements.
Standard HTML class for item elements.
Prefix of all tags added to nodes by SAM. It acts as a sort of HTML attribute namespace.
The page ID links must match with.
The 0+ matching link nodes.
Call nodeToSelector on the element node.
The element selector.
Call getNodeTag on the element node.
The name of the tag (without the prefix).
The value of the tag, or undefined
if the tag was not found.
Add a tag to the element node, i.e. an prefixed HTML attribute. Note: the prefix is automatically prepended to the tag name.
The name of the tag (without the prefix).
The value of the attribute.
Get the value of a tag of the given node. Note: the prefix is automatically prepended to the tag name.
The tagged node (with the attribute).
The name of the tag (without the prefix).
The value of the tag, or undefined
if the tag was not found.
Return a standalone jQuery string selector for the given node,
i.e. $(<selector>)
should select the node.
The selector is built recursively, in the following way:
body
or html
node, it returns the related tag selector;>
);
(2) the node tag;
(3) the node positional selector (:eq(<index>)
).The node to represent with a selector.
The standalone selector.
Generated using TypeDoc
Create a new instance of item.
If the given node has the Reorder.NON_REORDERABLE_ELEMENT_CLASS class, the item will be marked as non-reorderable.