Angular directive

sra-horizontal-align source

This directive is used to horizontally 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-horizontal-align="center">center</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

Dependencies:
NameTypeDescription
sra-args-horizontal-align String (Optional) One of the following values: "center", "left", "right", default = "center"