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

Method Click

testing.go:220–227  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

218func (r ButtonResult) Exists() bool { return r.found }
219
220func (r ButtonResult) Click() {
221 if r.handler != nil {
222 r.handler()
223 }
224 if r.tree != nil {
225 r.tree.Rerender()
226 }
227}
228
229type ToggleResult struct {
230 Label string

Callers 1

TestTestRenderCounterFunction · 0.80

Calls 1

RerenderMethod · 0.80

Tested by 1

TestTestRenderCounterFunction · 0.64