From 7f5cc1b07a97f53f90d5faab44c094b25daa81f9 Mon Sep 17 00:00:00 2001 From: Masahiro FUJIMOTO Date: Thu, 19 Aug 2021 09:58:16 +0900 Subject: orphaned/Web/API/Node/getUserData を削除 (#2017) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 廃止されたメソッドであるため --- files/ja/_redirects.txt | 2 - files/ja/_wikihistory.json | 13 ----- .../orphaned/web/api/node/getuserdata/index.html | 67 ---------------------- 3 files changed, 82 deletions(-) delete mode 100644 files/ja/orphaned/web/api/node/getuserdata/index.html (limited to 'files') diff --git a/files/ja/_redirects.txt b/files/ja/_redirects.txt index 5f5d216608..7ddf4ab6ef 100644 --- a/files/ja/_redirects.txt +++ b/files/ja/_redirects.txt @@ -3220,9 +3220,7 @@ /ja/docs/Web/API/Node.replaceChild /ja/docs/Web/API/Node/replaceChild /ja/docs/Web/API/Node.textContent /ja/docs/Web/API/Node/textContent /ja/docs/Web/API/Node/baseURIObject /ja/docs/Web/API/Node -/ja/docs/Web/API/Node/cloneNode-old /ja/docs/orphaned/Web/API/Node/getUserData /ja/docs/Web/API/Node/firstChild-temp /ja/docs/Web/API/Node/firstChild -/ja/docs/Web/API/Node/getUserData /ja/docs/orphaned/Web/API/Node/getUserData /ja/docs/Web/API/Node/innerText /ja/docs/Web/API/HTMLElement/innerText /ja/docs/Web/API/Node/localName /ja/docs/Web/API/Element/localName /ja/docs/Web/API/Node/namespaceURI /ja/docs/Web/API/Element/namespaceURI diff --git a/files/ja/_wikihistory.json b/files/ja/_wikihistory.json index b03fcb2be6..0f002f99c7 100644 --- a/files/ja/_wikihistory.json +++ b/files/ja/_wikihistory.json @@ -49344,19 +49344,6 @@ "Wind1808" ] }, - "orphaned/Web/API/Node/getUserData": { - "modified": "2020-10-15T21:14:35.305Z", - "contributors": [ - "mfuji09", - "AshfaqHossain", - "teoli", - "ethertank", - "dextra", - "Potappo", - "Mgjbot", - "Shoot" - ] - }, "orphaned/Web/API/ParentNode": { "modified": "2020-11-23T03:46:53.867Z", "contributors": [ diff --git a/files/ja/orphaned/web/api/node/getuserdata/index.html b/files/ja/orphaned/web/api/node/getuserdata/index.html deleted file mode 100644 index 8c0a07a058..0000000000 --- a/files/ja/orphaned/web/api/node/getuserdata/index.html +++ /dev/null @@ -1,67 +0,0 @@ ---- -title: Node.getUserData() -slug: orphaned/Web/API/Node/getUserData -tags: - - API - - DOM - - Method - - Node - - Obsolete - - Reference - - メソッド -translation_of: Web/API/Node/getUserData -original_slug: Web/API/Node/getUserData ---- -
{{APIRef("DOM")}}{{obsolete_header}}
- -

Node.getUserData() メソッドは、以前 {{domxref("Node.setUserData()")}} によってノードに設定されたすべてのユーザーデータを {{domxref("DOMUserData")}} 形式で返します。

- -
-

Node.setUserData および {{domxref("Node.getUserData")}} メソッドはウェブコンテンツから利用できなくなりました。 {{domxref("Element.dataset")}} または WeakMap を代わりに利用することができます。

-
- -

構文

- -
userData = someNode.getUserData(userKey);
- -

引数

- - - -

- -
var d = document.setUserData('key', 15, null);
-console.log(document.getUserData('key')); // 15
- -

仕様書

- - - - - - - - - - - - - - - - -
仕様書状態備考
{{SpecName('DOM3 Core', 'core.html#Node3-getUserData', 'Node.getUserData()')}}{{Spec2('DOM3 Core')}}初回定義
- -

ブラウザーの互換性

- -

{{Compat("api.Node.getUserData")}}

- -

関連情報

- - -- cgit v1.2.3-54-g00ecf