Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

caret

import { caret } from "https://raw.githubusercontent.com/takker99/scrapbox-userscript-std/0.14.1/browser/dom/mod.ts";

現在のカーソルと選択範囲の位置情報を取得する

function caret(): CaretInfo;
§

§Return Type

§

カーソルと選択範囲の情報