diff options
Diffstat (limited to 'files/ja/web/api/intersectionobserver/takerecords')
| -rw-r--r-- | files/ja/web/api/intersectionobserver/takerecords/index.html | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/files/ja/web/api/intersectionobserver/takerecords/index.html b/files/ja/web/api/intersectionobserver/takerecords/index.html new file mode 100644 index 0000000000..3b05186010 --- /dev/null +++ b/files/ja/web/api/intersectionobserver/takerecords/index.html @@ -0,0 +1,72 @@ +--- +title: IntersectionObserver.takeRecords() +slug: Web/API/IntersectionObserver/takeRecords +tags: + - API + - Intersection Observer + - Intersection Observer API + - IntersectionObserver + - Method + - NeedsExample + - Reference + - takeRecords + - メソッド +translation_of: Web/API/IntersectionObserver/takeRecords +--- +<div>{{APIRef("Intersection Observer API")}}</div> + +<p><span class="seoSummary">{{domxref("IntersectionObserver")}} の <code><strong>takeRecords()</strong></code> メソッドは、明示的にこのメソッドを呼び出したか、監視のコールバックで暗黙的に自動呼出しされたかのどちらかで前回交差をチェックした後で交差状態の変化があった対象要素を示す {{domxref("IntersectionObserverEntry")}} オブジェクトの配列を返します。</span></p> + +<div class="note"> +<p><strong>メモ:</strong> コールバックを使用してこれらの変更を監視している場合は、このメソッドを呼び出す必要はありません。このメソッドを呼び出すと処理待ちの交差リストをクリアしてしまうため、コールバックが実行されません。</p> +</div> + +<h2 id="Syntax" name="Syntax">構文</h2> + +<pre class="syntaxbox"><em>intersectionObserverEntries</em> = <em>intersectionObserver</em>.takeRecords();</pre> + +<h3 id="Parameters" name="Parameters">引数</h3> + +<p>なし。</p> + +<h3 id="Return_value" name="Return_value">返値</h3> + +<p>前回交差をチェックした後で交差状態の変化があった対象要素を示す {{domxref("IntersectionObserverEntry")}} オブジェクトの配列です。</p> + +<dl> +</dl> + +<h2 id="Examples" name="Examples">例</h2> + +<p><<<...>>></p> + +<h2 id="Specifications" name="Specifications">仕様書</h2> + +<table class="standard-table"> + <thead> + <tr> + <th scope="col">仕様書</th> + <th scope="col">状態</th> + <th scope="col">備考</th> + </tr> + </thead> + <tbody> + <tr> + <td>{{SpecName('IntersectionObserver','#dom-intersectionobserver-takerecords','IntersectionObserver.takeRecords()')}}</td> + <td>{{Spec2('IntersectionObserver')}}</td> + <td>初回定義</td> + </tr> + </tbody> +</table> + +<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザーの互換性</h2> + +<div class="hidden">このページの互換性一覧表は構造化データから生成されています。データに協力していただけるのであれば、 <a class="external" href="https://github.com/mdn/browser-compat-data">https://github.com/mdn/browser-compat-data</a> をチェックアウトしてプルリクエストを送信してください。</div> + +<p>{{Compat("api.IntersectionObserver.takeRecords")}}</p> + +<h2 id="See_also" name="See_also">関連情報</h2> + +<ul> + <li><a href="/ja/docs/Web/API/Intersection_Observer_API">Intersection Observer API</a></li> +</ul> |
