MCPcopy
hub / github.com/g3n/engine / onResize

Method onResize

gui/scroller.go:316–319  ·  view source on GitHub ↗

onResize receives resize events

(evname string, ev interface{})

Source from the content-addressed store, hash-verified

314
315// onResize receives resize events
316func (s *Scroller) onResize(evname string, ev interface{}) {
317
318 s.Update()
319}
320
321// setVerticalScrollbarVisible sets the vertical scrollbar visible, creating and initializing it if it's the first time
322func (s *Scroller) setVerticalScrollbarVisible() {

Callers

nothing calls this directly

Calls 1

UpdateMethod · 0.95

Tested by

no test coverage detected