klren0312 / daliy_knowledge

知识积累,正确使用方式是watch
21 stars 4 forks source link

js指定div全屏 #743

Open klren0312 opened 1 year ago

klren0312 commented 1 year ago

使用

div.requestFullscreen()

参考资料

https://developer.mozilla.org/en-US/docs/Web/API/Element/requestFullscreen