Main Content
isInScrollView
Description
returns whether components are visible in a scrollable container.tf
= isInScrollView(container
,comp
)
If
comp
is a single UI component, thenisInScrollView(container,comp)
returns logical1
(true
) if any part of the component is visible given the current size and scroll location ofcontainer
. Otherwise, it returns logical0
(false
).If
comp
is a vector of UI components, thenisInScrollView(container,comp)
returns an array of logical values indicating whether each component incomp
is at least partially visible given the current size and scroll location ofcontainer
.