mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Emit event after linking the layout directive.
This commit is contained in:
parent
b97ce52c6f
commit
9f008318cc
1 changed files with 5 additions and 0 deletions
|
@ -117,5 +117,10 @@ define [
|
|||
element.layout().hide("east")
|
||||
else
|
||||
element.layout().show("east")
|
||||
|
||||
post: (scope, element, attrs) ->
|
||||
name = attrs.layout
|
||||
state = element.layout().readState()
|
||||
scope.$broadcast "layout:#{name}:linked", state
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue