MenuItemMoveInput Input Object
Fields
#
isStrictOffset
Set to 'true', if you want receive an error in case, when new calculated position (based on offset) is invalid: has negative value, or greater than number of parent elements.
parentId
ID of the parent menu. If equals to "null", menu will be top level menu. If not transferred, parent will not be changed.
relativeOffset
The new relative offset from the current position of the item (from -inf to +inf). 1 moves the item one position forward, -1 moves the item one position backward, 0 leaves the item unchanged. Be aware, if parent was changed and you want to set new position, then you should take into account, that on parent change, item will be appended to parent children.
Usages
#
References
#
- Argument moves of field menuItemMove from type Mutation