- Source:
// TODO: update comments since it's a directive now and much had changed.
The ShellController
controller handles the shell which is the visible part of the layout.
self.isLoading
is initially true
and causes the loading overlay to be displayed; when configService
resolves, it's set to false
and the loading overly is removed.
Methods
(inner) updateClass(newD, oldD)
- Source:
Updates the $rootElement class with rv-small, rv-medium, or rv-large depending on its width and height.
Parameters:
Name | Type | Description |
---|---|---|
newD |
Object | new dimensions in the form of { width: |
oldD |
Object | old dimensions in the form of { width: |