reorderMenuItemsAction() {
        const target = this;
        const position = target.classList.contains('menu-item-up') ? '-1' : '1';

        wcmsAdminActions.sendPostRequest('menuItems', position, 'menuItemOrder', target.dataset.menu);
    }
/**
     * Method for reordering the items from menu
     */
Method for reordering the items from menu
Method for reordering the items from menu
reorderMenuItemsAction() {
        const target = this;
        const position = target.classList.contains('menu-item-up') ? '-1' : '1';
        wcmsAdminActions.sendPostRequest('menuItems', position, 'menuItemOrder', target.dataset.menu);
    }
reorderMenuItemsAction ( ) { const target = this ; const position = target . classList . contains ( 'menu-item-up' ) ? '-1' : '1' ; wcmsAdminActions . sendPostRequest ( 'menuItems' , position , 'menuItemOrder' , target . dataset . menu ) ; }
Method for reordering the items from menu
Method for reordering the items from menu