MCPcopy Create free account
hub / github.com/NV404/gova / ScrollView

Function ScrollView

scroll.go:3–7  ·  view source on GitHub ↗
(children ...any)

Source from the content-addressed store, hash-verified

1package gova
2
3func ScrollView(children ...any) *viewNode {
4 node := stackNode(viewKindScrollView, children)
5 node.scrollView = &scrollViewData{direction: ScrollVertical}
6 return node
7}
8
9func (n *viewNode) ScrollDirection(d scrollDirection) *viewNode {
10 if n.scrollView != nil {

Callers 1

TestScrollViewNodeFunction · 0.85

Calls 1

stackNodeFunction · 0.85

Tested by 1

TestScrollViewNodeFunction · 0.68