Skip to content

usePermission

Category
Last Changed
1月4日17时26分

Reactive Permissions API. The Permissions API provides the tools to allow developers to implement a better user experience as far as permissions are concerned.

Demo

Usage

ts
import { usePermission } from 'comuse-core'

const microphoneAccess = usePermission('microphone')

Source

SourceDemoDocs

Changelog

Pending for release...
9c340 - feat: use permission

Released under the MIT License.