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

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

UI Service - QuickHelpService

QuickHelpService is an Angular Factory in the Layer module with the name quickhelp.js. It is used to create a quick help panel for the view via the KeyService. To use these functions, see the documentation on injecting Angular services.

What is the Quick Help Panel?

Below is a screenshot of the Quick Help Panel on the Topology View.

NameSummary
initQuickHelpInitialize the QuickHelpService.
showQuickHelpShow the Quick Help Panel with current key bindings.
hideQuickHelpHide the Quick Help Panel.

Function Descriptions

initQuickHelp

Initialize the QuickHelpService. You can call this if you would like to change the custom settings.

Example UsageArgumentsReturn Value
qhs.initQuickHelp(opts);

opts - (optional) an object with custom settings:

fade: Number of how long the animation fade time should be

none

showQuickHelp

Show the Quick Help Panel with current key bindings.

Example UsageArgumentsReturn Value
qhs.showQuickHelp(bindings);bindings - an object. See the KeyService Key Mappings for the correct formatting. 


hideQuickHelp

 

 

 

 

 

 

 

  • No labels