FloUI.Scrollable.Wheel (FloUI v0.1.0-alpha.6) View Source

Link to this section Summary

Link to this section Types

Specs

t() :: %FloUI.Scrollable.Wheel{
  offset: FloUI.Scrollable.Direction.t(),
  wheel_state: wheel_state()
}

Specs

wheel_state() :: :idle | :scrolling

Link to this section Functions

Specs

scrolling?(t()) :: boolean()
Link to this function

start_scrolling(state, offset)

View Source

Specs

start_scrolling(t(), FloUI.Scrollable.Direction.t()) :: t()
Link to this function

stop_scrolling(state, offset)

View Source

Specs

stop_scrolling(t(), FloUI.Scrollable.Direction.t()) :: t()