Creates and returns a new MxtStack.
Private _dataPrivate _onPrivate _onPrivate _onPrivate _onThe number of elements in the stack.
Pops the top-most element from the stack, if one exists. Before being popped, the element is notified that it is deselected, then removed. The next element in line (if there is one) is then notified that it is selected.
The popped element, if one was available. Otherwise null.
Sets the callback to be made when an element is added/pushed onto this stack.
Sets te callback to be made when an element is deselected in this stack.
Sets the callback to be made when an element is removed/popped from this stack.
Sets the callback to be made when an element is selected in this stack.
Generated using TypeDoc
A simple stack structure with notifications to the stack elements as to when they are added, removed, etc. The top-most element is considered "selected", and this stack also fires events as elements are selected and deselected.