Skip to main content

Module dom_range

Module dom_range 

Source
Expand description

W3C DOM Range / Selection 幾何・境界点純粋計算モジュール

W3C DOM Level 2 Range および DOM Standard §5.2 に準拠した 境界点比較、折りたたみ、包含判定、Selection 状態管理の純粋ロジックを提供する。

Structs§

BoundaryPoint
境界点(Boundary Point)。 ノードのドキュメント順位置(node_order)と、ノード内オフセット(offset)。
RangeData
Range の状態データ(純粋構造体)
SelectionState
Selection の純粋状態管理

Enums§

SelectionType
Selection の種別

Constants§

END_TO_END
END_TO_START
START_TO_END
START_TO_START
比較方法(Range.prototype.compareBoundaryPoints 引数定数)