The Help page is a standard built-in popup page that displays help topics. When the Help page is initialized, it automatically gathers the help associated with each defined page by calling the page's renderHelp() method. In addition, pages can call the help.addTopic() method to add additional topics.
The help page supports active links to any help topic, including links within help topics. When a link to a help topic is clicked, a Help popup page instance is created that starts at the requested topic, though the user can then select any topic. If the user subsequently clicks a link within a help topic, a new popup instance of the Help page is created. The user will return to the old topic when the new page is dismissed.
The help page is also responsible for displaying page tips. These are small popup notices that provide a helpful hint that the user may not know. A tip may be displayed when a page is opened. A page may have several tips. Certain tips are displayed only the first time a page is opened. Others are displayed at some random time later, though the system is careful to not display them so often that it's annoying. Once a tip is displayed, it is not displayed again. However, all of a page's tips are always shown at the bottom of the page's help topic content.
The help page automatically gathers any page tips by reading the page's tipInfo property. The tips will be added to the bottom of the page's help topic.
helpimport {help} from 'common/mvcs/export.js';
The help object provides methods and properties to control the help system.
help methodsaddTopic()help.addTopic(helpId, info)
Add a help topic. The helpId is an ID string for the help topic. The helpId is used as an option value when selecting the help topic. It should be unique for each topic. When the Help page gathers the help information from all pages, the helpId is the page ID. The info argument is an object containing the help topic information.
helpIdinfotitle (required)renderHelp (required)renderHelp() method.tipInfo (optional)idtype'firstTime''anyTime'templatetipInfo will be ignored for help not associated with a page ID. The help page automatically gathers any page tips by reading the page's tipInfo property.