Enum controlling layout clearing behavior.
const Ui = await import('LensStudio:Ui'); const deleteMode = Ui.ClearLayoutBehavior.DeleteClearedWidgets; const keepMode = Ui.ClearLayoutBehavior.KeepClearedWidgets; console.log(`ClearLayoutBehavior: Delete=${deleteMode}, Keep=${keepMode}`); Copy
const Ui = await import('LensStudio:Ui'); const deleteMode = Ui.ClearLayoutBehavior.DeleteClearedWidgets; const keepMode = Ui.ClearLayoutBehavior.KeepClearedWidgets; console.log(`ClearLayoutBehavior: Delete=${deleteMode}, Keep=${keepMode}`);
Delete widgets when the layout is cleared.
Preserve widgets when the layout is cleared.
Enum controlling layout clearing behavior.
Example