A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developer.mozilla.org/ja/docs/Web/API/Selection/collapseToStart below:

collapseToStart - Web API | MDN

MDN Web Docs
  1. 開発者向けのウェブ技術
  2. Web API
  3. Selection
  4. collapseToStart

このページはコミュニティーの尽力で英語から翻訳されました。MDN Web Docs コミュニティーについてもっと知り、仲間になるにはこちらから。

Filter sidebar

この記事では
  1. Selection
  2. インスタンスプロパティ
    1. anchorNode
    2. anchorOffset
    3. direction
    4. focusNode
    5. focusOffset
    6. isCollapsed
    7. rangeCount
    8. type
  3. インスタンスメソッド
    1. addRange()
    2. collapse()
    3. collapseToEnd()
    4. collapseToStart()
    5. containsNode()
    6. deleteFromDocument()
    7. empty()
    8. extend()
    9. getComposedRanges()
    10. getRangeAt()
    11. modify()
    12. removeAllRanges()
    13. removeRange()
    14. selectAllChildren()
    15. setBaseAndExtent()
    16. setPosition()
    17. toString()
この記事では collapseToStart

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.

概要

選択範囲内の最初の範囲の先頭まで選択範囲を縮小します。選択されている内容が編集可能であり且つフォーカス状態なら、その地点でキャレットが点滅します。

構文
sel.collapseToStart()
引数

無し

関連情報 Help improve MDN Was this page helpful to you? Learn how to contribute

.

This page was last modified on 2022年9月26日 by MDN contributors.

View this page on GitHub

•

Report a problem with this content

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4