Hi,
How can I set a dynamic tooltip to dynamic icon which is initialized as the following:
(this.setPrompt - sets the prompt to the button and not to the icon itself. The button in this case don't have a tooltip anyway).
headerButtonProperties: {
icon: "someIconA",
iconClick: function() {
if (x) {
this.setIcon("someIconA");
// this.setPrompt("Collapse");
} else {
this.setIcon("someIconB");
// this.setPrompt("Expand");
}
}
}
TNX!
How can I set a dynamic tooltip to dynamic icon which is initialized as the following:
(this.setPrompt - sets the prompt to the button and not to the icon itself. The button in this case don't have a tooltip anyway).
headerButtonProperties: {
icon: "someIconA",
iconClick: function() {
if (x) {
this.setIcon("someIconA");
// this.setPrompt("Collapse");
} else {
this.setIcon("someIconB");
// this.setPrompt("Expand");
}
}
}
TNX!
Comment