diff options
author | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:40:17 -0500 |
---|---|---|
committer | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:40:17 -0500 |
commit | 33058f2b292b3a581333bdfb21b8f671898c5060 (patch) | |
tree | 51c3e392513ec574331b2d3f85c394445ea803c6 /files/ja/web/api/selection/collapsetostart | |
parent | 8b66d724f7caf0157093fb09cfec8fbd0c6ad50a (diff) | |
download | translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.gz translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.bz2 translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.zip |
initial commit
Diffstat (limited to 'files/ja/web/api/selection/collapsetostart')
-rw-r--r-- | files/ja/web/api/selection/collapsetostart/index.html | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/files/ja/web/api/selection/collapsetostart/index.html b/files/ja/web/api/selection/collapsetostart/index.html new file mode 100644 index 0000000000..ae2ac6cac9 --- /dev/null +++ b/files/ja/web/api/selection/collapsetostart/index.html @@ -0,0 +1,22 @@ +--- +title: collapseToStart +slug: Web/API/Selection/collapseToStart +tags: + - DOM + - Gecko DOM Reference + - Selection +translation_of: Web/API/Selection/collapseToStart +--- +<div> + {{ApiRef}}</div> +<h2 id="Summary" name="Summary">概要</h2> +<p>選択範囲内の最初の範囲の先頭まで選択範囲を縮小します。選択されている内容が編集可能であり且つフォーカス状態なら、その地点でキャレットが点滅します。</p> +<h2 id="Syntax" name="Syntax">構文</h2> +<pre class="syntaxbox"><var>sel</var>.collapseToStart() +</pre> +<h3 id="Parameters" name="Parameters">引数</h3> +<p>無し</p> +<h2 id="See_also" name="See_also">関連情報</h2> +<ul> + <li>{{domxref("Selection")}}</li> +</ul> |