@mocanvas/mocanvas · function
declare function embedPermissionsToAllowAttribute(permissions: Readonly<Record<string, boolean>>): stringThe allow attribute for an iframe, built from a permissions map.
Only the features that are on are listed; a feature that is absent from the
attribute is denied, so an explicit false and an omission mean the same
thing to the browser.
mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.