Expand description
入力処理とヒットテスト。クリック位置の要素判定を行う。
Structs§
- HitItem
- ヒットしたノード情報
Constants§
- NO_
SCROLL_ DOM_ ID - Marker returned from
scroll_atwhen a container scrolled but carries no snapshot dom id (so noscrollevent can be dispatched to it). Callers can treat anySome(..)as “scrolled” and use this value to skip dispatch.
Functions§
- any_
custom_ node_ needs_ repaint - Returns whether any custom node in the tree reports a pending repaint.
- dismiss_
open_ popups - Dismisses every open popup whose owner is not under the pointer press.
- dispatch_
pointer - Dispatches a pointer event to the innermost custom node on the hit path.
- dispatch_
text_ input - Sends an editing event to the focused text input, if one exists.
- focus_
text_ input - Focuses
targetand clears focus from every other text input. - focused_
text_ input_ is_ composing - Returns whether the focused text input has an active IME composition.
- hit_
custom_ node - Returns the innermost custom node on a hit path, if any.
- hit_
dom_ id - Returns the innermost DOM node id on a hit path, if any.
- hit_
test - scroll_
at - Scrolls the innermost scrollable container under
(x, y)by(dx, dy). - update_
hover - Updates the hover state of custom nodes after a pointer move.
Type Aliases§
- HitPath
- ヒットパス(子→親の順)