Encapsulates listeners for window resize and scroll events. This information is stored on the rootScope so other directives can access it later.
Members
Methods
-
viewportInfoLink (scope, element, attrs)
-
Link function which adds event listeners to the angular Window object
Parameters:
Name Type Description scope an AngularJS scope object.
element the jqLite-wrapped element that this directive matches.
attrs a hash object with key-value pairs of normalized attribute names their corresponding attribute values.