Skip to content

Commit

Permalink
Update files/ja/web/api/performanceobserver/observe/index.md
Browse files Browse the repository at this point in the history
Co-authored-by: potappo <[email protected]>
  • Loading branch information
mfuji09 and potappo committed Aug 21, 2022
1 parent 93217a3 commit 4b1589a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/ja/web/api/performanceobserver/observe/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ translation_of: Web/API/PerformanceObserver/observe
---
{{APIRef("Performance Timeline API")}}

監視するパフォーマンスエントリタイプのセットを指定するには、**{{domxref("PerformanceObserver")}}** インターフェイスの**`observe()`** メソッドを使用します。パフォーマンスエントリタイプは {{domxref("DOMString")}} オブジェクトの配列として指定され、それぞれが 1 つのエントリタイプを命名します。型名は{{SectionOnPage("/ja/docs/Web/API/PerformanceEntry/entryType", "パフォーマンスエントリタイプ名")}}に記載されています。
監視するパフォーマンスエントリタイプのセットを指定するには、**{{domxref("PerformanceObserver")}}** インターフェイスの **`observe()`** メソッドを使用します。パフォーマンスエントリタイプは {{domxref("DOMString")}} オブジェクトの配列として指定され、それぞれが 1 つのエントリタイプを命名します。型名は{{SectionOnPage("/ja/docs/Web/API/PerformanceEntry/entryType", "パフォーマンスエントリタイプ名")}}に記載されています。

一致するパフォーマンスエントリが記録されると、パフォーマンスオブザーバーのコールバック関数 ({{domxref("PerformanceObserver")}}) の作成時に設定されたコールバック関数が呼び出されます。

Expand Down

0 comments on commit 4b1589a

Please sign in to comment.