Hi,
instance.enableElements([‘downloadButton’]);
We need to customize click of download button. we need to overtight our action on it.
Hi,
instance.enableElements([‘downloadButton’]);
We need to customize click of download button. we need to overtight our action on it.
Hey there!
You can use the updateElement
API to do this:
instance.updateElement('downloadButton', {
onClick: () => {
console.log('test')
}
})
Thanks!
Logan