Documentation ¶
Overview ¶
Package button implements a native scroll view.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ScrollPosition ¶
type ScrollPosition struct { X animate.Value Y animate.Value // contains filtered or unexported fields }
func (*ScrollPosition) Notify ¶
func (p *ScrollPosition) Notify(f func()) comm.Id
func (*ScrollPosition) SetValue ¶
func (p *ScrollPosition) SetValue(val layout.Point)
func (*ScrollPosition) Unnotify ¶
func (p *ScrollPosition) Unnotify(id comm.Id)
func (*ScrollPosition) Value ¶
func (p *ScrollPosition) Value() layout.Point
type View ¶
type View struct { view.Embed Direction Direction ScrollIndicatorDirection Direction ScrollEnabled bool ScrollPosition *ScrollPosition OnScroll func(position layout.Point) ContentChildren []view.View ContentPainter paint.Painter ContentLayouter layout.Layouter PaintStyle *paint.Style // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.