Model API
Event toasts
React to what happens in the layout: model.subscribe turns closes, moves, maximizes and adds into toasts, and a closed tab's toast offers Undo: the tab returns where the state before the close had it.
- model.subscribe
- CommandEvent
- event.before
- toLayoutJson
- layout.load
- tab.close