Browser Class
Browser Sub App for the Juju Gui.
Item Index
Methods
Attributes
Methods
_detailsVisible
-
visible
Show or hide the details panel.
Parameters:
-
visibleBooleanset the panel to hide or show.
_getSubPath
-
path
Some routes might have sub parts that hint to where a user wants focus. In particular we've got the tabs that might have focus. They are the last optional component of some of the routes.
Parameters:
-
pathStringthe full path to search for the sub path.
_getViewCfg
-
cfg
Generate a standard shared set of cfg all Views can expect to see.
Parameters:
-
cfgObjectadditional config to merge into the default view config.
destructor
()
Cleanup after ourselves on destroy.
fullscreen
-
req -
res -
next
Render the fullscreen view to the client.
Parameters:
-
reqRequestcurrent request object.
-
resResponsecurrent response object.
-
nextFunctioncallable for the next route in the chain.
initializer
-
cfg
General app initializer
Parameters:
-
cfgObjectgeneral init config object.
renderEditorial
-
req -
res -
next
Render editorial content into the parent view when required.
The parent view is either fullscreen/sidebar which determines how the editorial content is to be rendered.
Parameters:
-
reqRequestcurrent request object.
-
resResponsecurrent response object.
-
nextFunctioncallable for the next route in the chain.
