Title
This is an item that contains some text.
Adding Title control
A Title control can be added to a ribbon with the help of the add() method of TreeCollection:
ribbon.data.add({
type: "title",
value: "APP NAME"
});
Properties
You can provide the following properties in the configuration object of a Title control.
Showing/hiding Title
Title can be hidden and shown with the help of the related methods. Pass the id of a Title control as a parameter.
ribbon.show(id);
ribbon.hide(id);