Versions in this module Expand all Collapse all v0 v0.38.0 Feb 19, 2026 v0.37.0 Feb 15, 2026 v0.36.0 Feb 14, 2026 v0.35.0 Feb 14, 2026 v0.34.0 Feb 11, 2026 v0.33.0 Feb 10, 2026 v0.32.0 Feb 9, 2026 v0.31.0 Feb 7, 2026 v0.30.0 Feb 6, 2026 v0.29.0 Feb 3, 2026 v0.28.1 Feb 1, 2026 v0.28.0 Jan 30, 2026 v0.27.0 Jan 30, 2026 v0.26.0 Jan 30, 2026 v0.25.0 Jan 29, 2026 v0.24.0 Jan 28, 2026 v0.23.0 Jan 26, 2026 v0.22.2 Jan 26, 2026 v0.22.1 Jan 26, 2026 v0.22.0 Jan 25, 2026 Changes in this version + type ActionType int + const ActionClick + const ActionDoubleClick + const ActionDrag + const ActionDragEnd + const ActionHover + const ActionNone + const ActionScrollDown + const ActionScrollLeft + const ActionScrollRight + const ActionScrollUp + type ClickResult struct + IsDoubleClick bool + Region *Region + type Handler struct + HitMap *HitMap + func NewHandler() *Handler + func (h *Handler) Clear() + func (h *Handler) DragDelta(x, y int) (dx, dy int) + func (h *Handler) DragRegion() string + func (h *Handler) DragStartValue() int + func (h *Handler) EndDrag() + func (h *Handler) HandleClick(x, y int) ClickResult + func (h *Handler) HandleMouse(msg tea.MouseMsg) MouseAction + func (h *Handler) IsDragging() bool + func (h *Handler) StartDrag(x, y int, regionID string, startValue int) + type HitMap struct + func NewHitMap() *HitMap + func (h *HitMap) Add(id string, rect Rect, data any) + func (h *HitMap) AddRect(id string, x, y, w, height int, data any) + func (h *HitMap) Clear() + func (h *HitMap) Regions() []Region + func (h *HitMap) Test(x, y int) *Region + type MouseAction struct + Delta int + DragDX int + DragDY int + Region *Region + Type ActionType + X int + Y int + type Rect struct + H int + W int + X int + Y int + func (r Rect) Contains(x, y int) bool + type Region struct + Data any + ID string + Rect Rect