Hi,
I’ve just finished building the simple Miro Web Plugin to count the number of widgets by type and would like to add a button on the sidebar which creates a sticky on the board with the count.
I tried adding the button to HTML using the code below but the button itself is not clickable, is this not supported on the sidebar?
let button = document.createElement('button');
button.className = 'stat-list__button';
button.innerText = 'Create Totals';
button.addEventListener('click', function() {
alert("Test");
}, false);
statView.appendChild(button);
Thanks for the help!
Tudor