PerformanceMeasure: 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.measure()
を使用して)構築時にマークに記載された任意のメタデータを返します。
値
(performance.measure()
の markOptions
から)設定された値を返します。
例
次の例は、detail
プロパティの使い方を示しています。
js
performance.measure("dog", { detail: "labrador", start: 0, end: 12345 });
const dogEntries = performance.getEntriesByName("dog");
dogEntries[0].detail; // labrador
仕様書
Specification |
---|
User Timing # dom-performancemeasure-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.