PerformanceMark: detail プロパティ
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since September 2015.
読み取り専用の detail
プロパティは、(performance.mark()
または PerformanceMark()
コンストラクターを使用して)構築時にマークに記載された任意のメタデータを返します。
値
(performance.mark()
の markOptions
または PerformanceMark()
コンストラクターから)設定された値を返します。
例
次の例は、detail
プロパティの使い方を示しています。
js
performance.mark("dog", { detail: "labrador" });
const dogEntries = performance.getEntriesByName("dog");
dogEntries[0].detail; // labrador
仕様書
Specification |
---|
User Timing # dom-performancemark-detail |
ブラウザーの互換性
Report problems with this compatibility data on GitHubdesktop | mobile | server | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
detail |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.