Get to know MDN better
このページはコミュニティーの尽力で英語から翻訳されました。MDN Web Docs コミュニティーについてもっと知り、仲間になるにはこちらから。
This feature is well established and works across many devices and browser versions. It’s been available across browsers since 2020年1月.
supportedEntryTypes は PerformanceObserver インターフェイスの静的読み取り専用プロパティで、このユーザーエージェントが対応している entryType 値の配列を返します。
対応している項目のリストはブラウザーごとに異なり、進化しているため、このプロパティによってウェブ開発者は利用できる項目を調べることができます。
PerformanceEntry.entryType 値の配列です。
ブラウザーの対応している entryType 値を探すには、 PerformanceObserver.supportedEntryTypes とコンソールに入力します。これは対応している値の配列を返します。
以下の関数は、使用可能な項目型の配列に対応しているか調べます。サポートされていない型はコンソールにログ出力されますが、この情報をクライアント側の分析にログ出力して、具体的な型が監視できなかったことを示すこともできます。
| Performance Timeline # supportedentrytypes-attribute |
Enable JavaScript to view this browser compatibility table.
This page was last modified on 2023年10月19日 by MDN contributors.
Your blueprint for a better internet.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.