blob: 0ab9643c8f8cfff406008b55eb8d5cfc2fa1c3a0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
---
title: pending
slug: Mozilla/Tech/XUL/Attribute/pending
translation_of: Archive/Mozilla/XUL/Attribute/pending
---
<div class="noinclude">
<span class="breadcrumbs xulRefAttr_breadcrumbs">« <a href="/zh-CN/docs/XUL_Reference">XUL Reference home</a></span></div>
<dl>
<dt>
<code id="a-pending"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/pending">pending</a></code> </dt>
<dd>
Type: <em>boolean</em></dd>
<dd>
This attribute is set to <code>true</code> if the tab is currently in the process of being restored by the session store service. Once the tab is restored, this attribute is removed. You can determine if a tab is being restored by checking to see if <code>hasAttribute("pending")</code> is <code>true</code>. If the user has turned on the "Don't load tabs until selected" preference, the <code id="a-pending"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/pending">pending</a></code> attribute is set on tabs until they get loaded.</dd>
</dl>
|