Method _.USort.restore
Summary:
When passed a UL
, OL
, or TBODY
that has already been sorted by _.USort.element this method will return that element to its original sort state. If it has not been sorted by that method, no action is taken.
NOTE, if you pass it a non UL
, OL
, or TBODY
element, this method will throw a typeError halting JavaScript execution.
- Calling Convention:
-
_.USort.restore(Element)
- Parameters:
-
- Element
-
A
TBODY
,UL
, orOL
type Element object that you wish to restore to its original order.
- Returns:
- Nothing
Live Examples
The live demo's for _.USort.element include buttons in their code demonstration how to use _.USort.restore. These demo's are also included in the distribution archive.