aboutsummaryrefslogtreecommitdiff
path: root/files/ja/archive/mozilla/xul/attribute/persist/index.html
blob: 7998b8d7426d42d6320903689b14ab9aaf099cf1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
---
title: persist
slug: Archive/Mozilla/XUL/Attribute/persist
tags:
  - XUL Attributes
  - XUL Reference
translation_of: Archive/Mozilla/XUL/Attribute/persist
---
<div class="noinclude"><span class="breadcrumbs xulRefAttr_breadcrumbs">« <a href="/ja/docs/XUL/XUL_Reference">XUL リファレンス HOME</a></span></div>
<dl><dt> <code id="a-persist"><a href="https://developer.mozilla.org/ja/docs/Mozilla/Tech/XUL/Attribute/persist">persist</a></code> </dt><dd> 型: <em>スペースで区切られた属性のリスト</em> </dd><dd> ウィンドウが閉じられた時に使用されていた属性のスペースで区切られたリストを返します。ウィンドウが再び開かれた時に属性値を再び格納します。Mozilla では、プロファイルごとに <code>localstore.rdf</code> に持続的な属性を格納します。<code>document.persist</code> 関数を使って、永続的な値を格納することも可能です。永続的な値を利用するためには、要素は <code id="a-id"><a href="https://developer.mozilla.org/ja/docs/Mozilla/Tech/XUL/Attribute/id">id</a></code> も持つ必要があります。 </dd></dl>
<div class="noinclude">

</div>