Have questions? Stuck? Please check our FAQ for some common questions and answers.

MastService

MastService is an Angular Factory in the Mast module with the name mast.js. It provides one function related to the mast of the GUI. To use this factory, see the documentation on injecting Angular services.

ONOS Mast:

NameSummary
mastHeightReturns the height (as a Number) of the mast in pixels.

Function Descriptions

mastHeight

Returns the height (as a Number) of the mast in pixels.

Example UsageArgumentsReturn Value
mast.mastHeight();nonethe height (as a Number) of the mast in pixels (takes into account whether it is a mobile browser)




  • No labels