Rename show-label to display-title

This commit is contained in:
Adrien Maston
2026-02-26 11:12:01 +01:00
parent 7f058a7cea
commit 158e95de42
5 changed files with 7 additions and 7 deletions
@@ -4,7 +4,7 @@ BridgeElement.prototype.getButton = function() {
const button = {
title: this.title,
icon: this.getIcon(),
showLabel: this.getShowLabel(),
displayTitle: this.getDisplayTitle(),
isMainAction: this.getIsMainAction()
}
console.log(button)
@@ -21,8 +21,8 @@ BridgeElement.prototype.getIcon = function() {
return null
}
BridgeElement.prototype.getShowLabel = function() {
return !!this.bridgeAttribute(`show-label`)
BridgeElement.prototype.getDisplayTitle = function() {
return !!this.bridgeAttribute(`display-title`)
}
BridgeElement.prototype.getIsMainAction = function() {