orderTabs( )


Changes the order of the tabs in a tabs element.

The orderTabs() function changes the order in which tab menu items are displayed. It reorders the array contained in the tabs property.

Method Declaration
Copy
Method Parameters
orderedTabIdsArray<string>Required

The tab elements, or the tab IDs without a preceding # character, in the desired new order. Tab elements and IDs can be mixed. The array must include each element (or its ID) once, otherwise the tabs are not reordered.

Did this help?