A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://developer.mozilla.org/zh-CN/docs/Web/API/HTMLIFrameElement/allowFullscreen below:

HTMLIFrameElement:allowFullscreen 属性 - Web API

HTMLIFrameElement:allowFullscreen 属性

Limited availability

HTMLIFrameElement 接口的 allowFullscreen 属性是一个反映了 <iframe> 元素的 allowfullscreen 属性的布尔值,它表示 iframe 的内容是否允许使用 requestFullscreen()。

备注: 此属性被视为遗留属性。请改用 allow="fullscreen" 和 HTMLIFrameElement.allow。

值

一个布尔值。

示例
<iframe id="el" allowfullscreen></iframe>
const el = document.getElementById("el");
console.log(el.allowFullscreen); // 输出:true
规范 浏览器兼容性 参见

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4