Adds custom stamps to the front of the custom stamp list; the list is remembered by the browser.
A PNG data URL or an array of them.
const canvas = document.createElement('canvas');canvas.width = 200;canvas.height = 60;const context = canvas.getContext('2d');context.fillStyle = '#d32f2f';context.font = 'bold 36px sans-serif';context.fillText('PAID', 50, 45);instance.UI.addCustomStamps(canvas.toDataURL('image/png')); Copy
const canvas = document.createElement('canvas');canvas.width = 200;canvas.height = 60;const context = canvas.getContext('2d');context.fillStyle = '#d32f2f';context.font = 'bold 36px sans-serif';context.fillText('PAID', 50, 45);instance.UI.addCustomStamps(canvas.toDataURL('image/png'));
Adds custom stamps to the front of the custom stamp list; the list is remembered by the browser.