browse other examples

Top visible

There is an optional parameter of ui-scroll directive which gives us a reference to the item currently in the topmost visible position.
<li ui-scroll="item in datasource" top-visible="topItem">*{{item}}*</li>
We recommend to use topVisible property on adapter. Please follow this demo.
top visible: {{topVisible}}
{{$index}}: {{item}}