const canva = window.canva.init();
canva.onReady(async (opts) => {
console.log("Entering touch mode...");
canva.toggleTouchMode(true);
canva.onTouchModeExit((opts) => {
console.log("You clicked the 'Done' button.");
console.log("You clicked the 'Cancel' button.");
console.log("Exited touch mode.");