Upgrade guides for TaskBoard v4.0.0+
TaskBoard v4.2.0
Being a first release, you really can not upgrade from anything to it 😁
TaskBoard v4.3.0
Buttons with menus shows a caret down arrow icon
Button has a new config menuIcon that specifies an icon to show when the button has a menu. It defaults to show a caret down arrow icon. If you are using buttons with menus and want to get rid of this icon (for example if you are already displaying a hamburger icon), set menuIcon : null on the button.
Old code:
const button = new Button({
icon : 'fa fa-bars',
menu : [
{ text : 'First item'},
{ text : 'Second item'}
]
})
New code:
const button = new Button({
icon : 'fa fa-bars',
menuIcon : null,
menu : [
{ text : 'First item'},
{ text : 'Second item'}
]
})
Buttons menuIconCls deprecated
Buttons menuIconCls was deprecated in favor of the menuIcon config mentioned above. It will be removed in 5.0. Please replace any usages:
Old code:
const button = new Button({
menuIconCls : 'fa fa-bars',
menu : [
{ text : 'First item'},
{ text : 'Second item'}
]
})
New code:
const button = new Button({
menuIcon : 'fa fa-bars',
menu : [
{ text : 'First item'},
{ text : 'Second item'}
]
})