aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/api/htmlanchorelement/tostring/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/ja/web/api/htmlanchorelement/tostring/index.html')
-rw-r--r--files/ja/web/api/htmlanchorelement/tostring/index.html39
1 files changed, 39 insertions, 0 deletions
diff --git a/files/ja/web/api/htmlanchorelement/tostring/index.html b/files/ja/web/api/htmlanchorelement/tostring/index.html
new file mode 100644
index 0000000000..1edb61e862
--- /dev/null
+++ b/files/ja/web/api/htmlanchorelement/tostring/index.html
@@ -0,0 +1,39 @@
+---
+title: HTMLHyperlinkElementUtils.toString()
+slug: Web/API/HTMLHyperlinkElementUtils/toString
+tags:
+ - API
+ - Experimental
+ - HTMLHyperlinkElementUtils
+ - Location
+ - Method
+ - Stringifier
+ - URL API
+translation_of: Web/API/HTMLHyperlinkElementUtils/toString
+---
+<p>{{ApiRef("URL API")}}</p>
+
+<p><span class="seoSummary"><strong><code>HTMLHyperlinkElementUtils.toString()</code></strong> 文字列化メソッドは、URL 全体を含む {{domxref("USVString")}} を返します。 これは、{{domxref("HTMLHyperlinkElementUtils.href")}} の読み取り専用バージョンです。</span></p>
+
+<h2 id="Syntax" name="Syntax">構文</h2>
+
+<pre class="syntaxbox"><em>string</em> = <em>object</em>.toString();</pre>
+
+<h2 id="Examples" name="Examples">例</h2>
+
+<pre class="brush: js">// &lt;a id="myAnchor" href="https://developer.mozilla.org/en-US/docs/HTMLHyperlinkElementUtils/toString"&gt; 要素がドキュメントにあるとします
+var anchor = document.getElementById("myAnchor");
+var result = anchor.toString(); // 戻り値: 'https://developer.mozilla.org/en-US/docs/HTMLHyperlinkElementUtils/toString'
+</pre>
+
+<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザーの互換性</h2>
+
+
+
+<p>{{Compat("api.HTMLHyperlinkElementUtils.toString")}}</p>
+
+<h2 id="See_also" name="See_also">関連情報</h2>
+
+<ul>
+ <li>{{domxref("HTMLHyperlinkElementUtils")}} ミックスインに属します。</li>
+</ul>