aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/api/xmlhttprequest/loadstart_event/index.html
diff options
context:
space:
mode:
authorMDN <actions@users.noreply.github.com>2022-02-11 00:58:37 +0000
committerMDN <actions@users.noreply.github.com>2022-02-11 00:58:37 +0000
commit4873c5f1122ac800cf3c916a52df07e05ddc9dcf (patch)
tree0b63e7a2179d77b0b20eac780dba8d8cb35355f4 /files/ja/web/api/xmlhttprequest/loadstart_event/index.html
parent633d212cfb9c7a5838f350ff88264e460ef0398e (diff)
downloadtranslated-content-4873c5f1122ac800cf3c916a52df07e05ddc9dcf.tar.gz
translated-content-4873c5f1122ac800cf3c916a52df07e05ddc9dcf.tar.bz2
translated-content-4873c5f1122ac800cf3c916a52df07e05ddc9dcf.zip
[CRON] sync translated content
Diffstat (limited to 'files/ja/web/api/xmlhttprequest/loadstart_event/index.html')
-rw-r--r--files/ja/web/api/xmlhttprequest/loadstart_event/index.html62
1 files changed, 62 insertions, 0 deletions
diff --git a/files/ja/web/api/xmlhttprequest/loadstart_event/index.html b/files/ja/web/api/xmlhttprequest/loadstart_event/index.html
new file mode 100644
index 0000000000..55e2add3bf
--- /dev/null
+++ b/files/ja/web/api/xmlhttprequest/loadstart_event/index.html
@@ -0,0 +1,62 @@
+---
+title: XMLHttpRequestEventTarget.onloadstart
+slug: Web/API/XMLHttpRequest/loadstart_event
+tags:
+ - API
+ - Property
+ - Reference
+ - Web
+ - XMLHttpRequestEventTarget
+ - イベントハンドラ
+translation_of: Web/API/XMLHttpRequestEventTarget/onloadstart
+original_slug: Web/API/XMLHttpRequestEventTarget/onloadstart
+---
+<div>{{APIRef("XMLHttpRequest")}}</div>
+
+<p><strong><code>XMLHttpRequestEventTarget.onloadstart</code></strong> は、 {{domxref("XMLHttpRequest")}} トランザクションがデータ転送を開始するときに呼び出される関数です。</p>
+
+<h2 id="Syntax" name="Syntax">構文</h2>
+
+<pre class="syntaxbox notranslate"><em>XMLHttpRequest</em>.onloadstart = <em>callback</em>;</pre>
+
+<h3 id="値">値</h3>
+
+<ul>
+ <li><code><em>callback</em></code> は、トランザクションがデータ転送を開始したときに呼び出される関数です。</li>
+</ul>
+
+<h2 id="Example" name="Example">例</h2>
+
+<pre class="brush: js notranslate">var xmlhttp = new XMLHttpRequest(),
+ method = 'GET',
+ url = 'https://developer.mozilla.org/';
+
+xmlhttp.open(<em>method</em>, <em>url</em>, true);
+xmlhttp.onloadstart = function () {
+ console.log("Download underway");
+};
+xmlhttp.send();
+</pre>
+
+<h2 id="仕様">仕様</h2>
+
+<table class="standard-table">
+ <tbody>
+ <tr>
+ <th scope="col">仕様</th>
+ <th scope="col">ステータス</th>
+ <th scope="col">備考</th>
+ </tr>
+ <tr>
+ <td>{{SpecName('XMLHttpRequest', '#handler-xhr-onloadstart')}}</td>
+ <td>{{Spec2('XMLHttpRequest')}}</td>
+ <td>WHATWG living standard</td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="ブラウザーの互換性">ブラウザーの互換性</h2>
+
+
+
+<p>{{Compat("api.XMLHttpRequestEventTarget.onloadstart")}}</p>