aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/performancetiming/loadeventstart/index.html
blob: ac4c1e723fdfe472615023cf51318af787414753 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
---
title: PerformanceTiming.loadEventStart
slug: Web/API/PerformanceTiming/loadEventStart
translation_of: Web/API/PerformanceTiming/loadEventStart
---
<p>{{APIRef("Navigation Timing")}}</p>

<h2 id="概要">概要</h2>

<p><code><strong>PerformanceTiming</strong></code><strong><code>.loadEventStart</code></strong> 是一个返回代表一个时刻的 <code>unsigned long long</code> 型只读属性,为 {{event("load")}} 事件被现在的文档触发之时的 Unix时间戳。如果这个事件没有被触发,则他返回 <code>0。</code></p>

<h2 id="语法">语法</h2>

<pre class="syntaxbox"><em>time</em> = <em>performanceTiming</em>.loadEventStart;</pre>

<h2 id="标准">标准</h2>

<table class="standard-table">
 <tbody>
  <tr>
   <th scope="col">Specification</th>
   <th scope="col">Status</th>
   <th scope="col">Comment</th>
  </tr>
  <tr>
   <td>{{SpecName('Navigation Timing', '#dom-performancetiming-loadeventstart', 'PerformanceTiming.loadEventStart')}}</td>
   <td>{{Spec2('Navigation Timing')}}</td>
   <td>Initial definition.</td>
  </tr>
 </tbody>
</table>

<h2 id="浏览器兼容性">浏览器兼容性</h2>

<div>
<div>


<p>{{Compat("api.PerformanceTiming.loadEventStart")}}</p>
</div>
</div>

<h2 id="参见">参见</h2>

<ul>
 <li>它属于 {{domxref("PerformanceTiming")}} 接口。</li>
</ul>