Skip to main content

browser_target

Function browser_target 

Source
pub(crate) fn browser_target(
    mstore: &Store,
    opened: &[String],
    own: &str,
) -> Option<String>
Expand description

The browser pane agent’s next browser stacks onto: the newest browser pane it opened that is still in a pane of the tab of its own pane own. None for the agent’s first browser, and after its browsers were closed or moved to another tab: the next one is a first again. opened is the agent’s docked panes, newest first.