How to tell if navigator.permissions.query with a certain permission is supported

后端 未结 0 1605
不知归路
不知归路 2021-02-15 04:47

I have the following code:

if (navigator.permissions && navigator.permissions.query) {
  navigator.permissions.query({
    name: \'clipboard-write\'
  }).         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题