mirror of
https://github.com/atom/atom.git
synced 2026-02-16 09:35:54 -05:00
Add PaneContainer::onDidAddPaneItem and ::observePaneItems
This commit is contained in:
@@ -51,6 +51,9 @@ class PaneAxis extends Model
|
||||
getPanes: ->
|
||||
flatten(@children.map (child) -> child.getPanes())
|
||||
|
||||
getItems: ->
|
||||
flatten(@children.map (child) -> child.getItems())
|
||||
|
||||
onDidAddChild: (fn) ->
|
||||
@emitter.on 'did-add-child', fn
|
||||
|
||||
|
||||
Reference in New Issue
Block a user