diff options
| author | Florian Merz <me@fiji-flo.de> | 2021-02-23 15:56:25 +0100 |
|---|---|---|
| committer | Florian Merz <me@fiji-flo.de> | 2021-02-23 15:56:25 +0100 |
| commit | 05b2650717b84d199f6ebd5df8a8f9d1e3b23f3f (patch) | |
| tree | 3a996b21e1eb1ed852ab792b9752648783a87a75 /files/ja/web/api/htmlanchorelement/tostring | |
| parent | 10701ffef1cb57f06970990b9b7086ea7f24a019 (diff) | |
| download | translated-content-05b2650717b84d199f6ebd5df8a8f9d1e3b23f3f.tar.gz translated-content-05b2650717b84d199f6ebd5df8a8f9d1e3b23f3f.tar.bz2 translated-content-05b2650717b84d199f6ebd5df8a8f9d1e3b23f3f.zip | |
sync: move
Diffstat (limited to 'files/ja/web/api/htmlanchorelement/tostring')
| -rw-r--r-- | files/ja/web/api/htmlanchorelement/tostring/index.html | 39 |
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">// <a id="myAnchor" href="https://developer.mozilla.org/en-US/docs/HTMLHyperlinkElementUtils/toString"> 要素がドキュメントにあるとします +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> |
