pub static LAYERS_INSERT_CMD: CommandExpand description
Insert a layer widget on the scoped window.
ยงParams
The parameter must be a tuple with the LAYERS service inputs:
(LayerIndex, WidgetFn<()>)- Calls the widget function in the window context, then callsLAYERS.insert.(LayerIndex, WidgetId, AnchorMode, WidgetFn<()>)- Calls the widget function in the window context, then callsLAYERS.insert_anchored.
If the parameter type does not match any of the above a debug trace is logged.