Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface LiveRepeatOptions

Hierarchy

  • LiveRepeatOptions

Index

Properties

Properties

Optional pageSize

pageSize: undefined | number

How many items to render each time. If you are using dynamic data, you should set this value to the count of items that you ajax interface returned. Otherwise you may set this value big enough to cover viewport, but should not too big to render too much items. Normally 50 would be enough since minimal lineHeight is 24 and 24 * 50 = 1200 can cover most screens. If the render result can't cover the viewport, it will render more pages until it can and do re-rendering.

This property is not updatable.

Optional preRendering

preRendering: undefined | boolean

If can't render all the contents in an animation frame, you should set this to true. It will prerender more contents before and after current contents so scrolling will becomes more smooth.

This property is not updatable.

Generated using TypeDoc