Move collection before target (Beta)
Move collection before target (Beta)
collection.moveBefore(target)
Moves this variable collection so that it appears immediately before target in the Variables panel display order.
The display order controls how collections are listed in the Webflow Designer’s Variables panel. This method does not affect variable values or references.
Beta
These methods are in public beta and may change with future releases.
Syntax
Parameters
- target: VariableCollection — The collection before which this collection should be positioned.
Returns
Promise<null>
A Promise that resolves to null when the reorder is complete.