NotRestoredReasons: id 屬性
NotRestoredReasons 介面的只讀屬性 id 返回一個字串,表示文件所在的 <iframe> 元素的 id 屬性值(例如 <iframe id="foo" src="...">)。
值
字串。
如果文件不在 <iframe> 中,或者 <iframe> 沒有設定 id,則 id 將返回 null。
示例
有關示例,請參閱 Monitoring bfcache blocking reasons。
規範
| 規範 |
|---|
| HTML # dom-not-restored-reasons-id |
瀏覽器相容性
載入中…