Skip to main content

Module tear_off_block

Module tear_off_block 

Source

Functionsยง

run
Run the TearOffBlock saga for ONE block. On success, returns {"new_workspace_id": "...", "new_tab_id": "..."}.
run_inner ๐Ÿ”’
run_stack
Run the TearOffBlock saga for a whole pane: members is its tab stack in order, block_id the visible one (see tear_off_order). Same return value as run.
tear_off_order ๐Ÿ”’
The blocks a tear-off moves, in the order they move: block_id (the visible tab) first, then the other members in their given order. Empty or without block_id in it, members means just block_id; repeats are dropped.