Search Docs
Loading...
Skip to content

Type Alias: LayersMenuComponentId

type LayersMenuComponentId =
| "ly.img.separator"
| "ly.img.layerList.menu.rename"
| "ly.img.layerList.menu.duplicate"
| "ly.img.layerList.menu.delete"
| "ly.img.layerList.menu.group"
| "ly.img.layerList.menu.ungroup"
| "ly.img.layerList.menu.bringToFront"
| "ly.img.layerList.menu.bringForward"
| "ly.img.layerList.menu.sendBackward"
| "ly.img.layerList.menu.sendToBack"
| "ly.img.layerList.menu.page.addAbove"
| "ly.img.layerList.menu.page.addBelow"
| string & object;

Represents the ID of a layer list row menu component.

The LayersMenuComponentId type defines the possible IDs for components that can be used in the ellipsis menu of a row in the layer and page list. It includes predefined IDs for separators and the built-in row commands, as well as a catch-all type for custom IDs.