Skip to main content

dom_set_selection_range

Function dom_set_selection_range 

Source
pub fn dom_set_selection_range(
    it: &mut Interp,
    this: Value,
    a: &[Value],
) -> Result<Value, Value>
Expand description

input/textarea.setSelectionRange(start, end, direction?)(丸ごと 未対応だった。selectionStart/.selectionEnd/.selectionDirection と対になる一括設定メソッド。2026-07-17 発見・実装)。3プロパティへの 個別代入と同じ内部専用属性へまとめて保存する簡略実装。