1const s="permission",e="1.3.1",i="Primitive that wraps permission queries",a=["permission","query","primitives"],n={name:"permission",stage:3,list:["createPermission"],category:"Browser APIs"},t=[],o=["solid-js"],r=[{name:"createPermission",min:[777,"B"],gzip:[441,"B"]}],p={min:[777,"B"],gzip:[441,"B"]},c=`<p>Creates a primitive to query user permissions.</p> 2<h2 id="how-to-use-it"><a class="header-anchor" href="#how-to-use-it">#</a>How to use it</h2> 3<pre><code class="hljs language-ts"><span class="hljs-keyword">const</span> <span class="hljs-attr">state</span>: <span class="hljs-string">"unknown"</span> | <span class="hljs-title class_">PermissionState</span> = <span class="hljs-title function_">createPermission</span>(<span class="hljs-attr">descriptor</span>: <span class="hljs-title class_">PermissionDescription</span> | <span class="hljs-title class_">PermissionName</span>); 4</code></pre> 5<h2 id="demo"><a class="header-anchor" href="#demo">#</a>Demo</h2> 6<p><a href="https://primitives.solidjs.community/playground/permission/">Live Site</a></p> 7<p>TODO</p> 8<h2 id="changelog"><a class="header-anchor" href="#changelog">#</a>Changelog</h2> 9<p>See <a href="https://github.com/solidjs-community/solid-primitives/blob/main/packages/permission/CHANGELOG.md">CHANGELOG.md</a></p>`,m={name:s,version:e,description:i,tags:a,primitive:n,workspace_deps:t,peer_deps:o,primitives:r,packageSize:p,readme:c};export{m as default,i as description,s as name,p as packageSize,o as peer_deps,n as primitive,r as primitives,c as readme,a as tags,e as version,t as workspace_deps}; 10//# sourceMappingURL=permission-BkS4MoOq.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.