Angular directive

sra-vertical-align source

This directive is used to vertically align withing the div it is added to. This directive can only be added as an attribute. It can be added to elements with other directives.

<div data-sra-vertical-align="center">middle</div>

NOTE: For this to work, each App and Widget must watch for the resize event broadcast via $rootScope.$on('sraResize') and call the sraDispatcher.resize() method

data-sra-vertical-align String (Optional) One of the following values: "middle", "top", "bottom", default = "middle"