Skip to main content

open_asset_in_lightbox

Function open_asset_in_lightbox 

Source
fn open_asset_in_lightbox(ui: Rc<LibraryWindowUi>, asset_id: String)
Expand description

Fetch a single asset by ID and open it in lightbox without leaving explore.

Temporarily loads the asset into the grid model so the lightbox can display it, then restores the previous library state when the lightbox page is popped.