Title
The Title control displays text on a ribbon.
Add Title
Use the add() method of TreeCollection to add a Title control to a ribbon:
ribbon.data.add({
type: "title",
value: "APP NAME"
});
Properties
Check the list of properties that you can set in the configuration object of a Title control.
Show and hide Title
The show() and hide() methods of Ribbon show and hide a Title control by its ID:
ribbon.show(id);
ribbon.hide(id);