NotRestoredReasons: name 属性
NotRestoredReasons
接口的只读属性 name
返回一个字符串,表示文档所在的 <iframe>
元素的 name
属性值(例如 <iframe name="bar" src="...">
)。
值
字符串。
如果文档不在 <iframe>
中,或者 <iframe>
没有设置 name
属性,则 name
将返回 null
。
示例
有关示例,请参阅 Monitoring bfcache blocking reasons。
规范
规范 |
---|
HTML # dom-not-restored-reasons-name |
浏览器兼容性
加载中…