Emit event after linking the layout directive.

This commit is contained in:
Paulo Reis 2017-01-12 16:49:29 +00:00
parent b97ce52c6f
commit 9f008318cc

View file

@ -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
}
]