ListViewContentInsetOption

Optional parameter for setContentInsets method.

On iOS, the optional parameters animated and duration to enable the animation and duration for animation while the content insets are updated. For example

setContentInset({top:50,bottom:100}, {animated:true, duration:3000})
  • 3.2.0
  • 3.2.0

NOTE This is an abstract type. Any object meeting this description can be used where this type is used.

Defined By

Properties

ListViewContentInsetOption
: Boolean
Determines whether the list view's content inset change is animated. ...

Determines whether the list view's content inset change is animated.

Default: false

ListViewContentInsetOption
duration : Number

The duration in milliseconds for animation while the content inset is being changed.

The duration in milliseconds for animation while the content inset is being changed.