Hey @Karl I want to add custom dropdown but it is not working
_c.config = {
// custom context menu (dropdown) options [EXAMPLE]
contextmenu: {
rotate: {
text: 'rotate',
// icon name, or include custom icon <path d="..."> value from https://pictogrammers.com/library/mdi/
icon: 'rotate_right',
// condition for button to display
condition: (item) => {
return item.browser_image;
},
// href: (item) => { return item.url_path; },
// do something on click
action: (item) => {
console.log(item); // item object
},
class: 'mybutton'
},
},
}
What mistake I am making here as the custom dropdown is not showing