enable
Method
async function enable(): void;try {
if(typeof window.alby !== 'undefined') {
await window.alby.enable();
}
}
catch(error) {
// User denied permission or cancelled
console.log(error);
}Last updated
Was this helpful?

