Vue CardView - scrolling

Configures scrolling.

Type:

Object

scrollByContent

Specifies whether a user can scroll the content with a swipe gesture. Applies only if useNative is false.

Type:

Boolean

Default Value: true, false (non-touch devices)

scrollByThumb

Specifies whether a user can scroll the content with the scrollbar. Applies only if useNative is false.

Type:

Boolean

Default Value: false

showScrollbar

Specifies when the UI component displays scrollbars.

Default Value: 'onScroll', 'onHover' (desktop)
NOTE

showScrollbar values behave as follows when the UI component uses native scrolling (see useNative):

  • "always", "onScroll", and "onHover": scrollbar visibility depends on the platform.
  • "never": the component hides scrollbars and disables user scrolling.

useNative

Specifies whether CardView uses native or simulated scrolling.

Type:

Boolean

|

Mode

Default Value: 'auto'

When this property is "auto", the component chooses between native and simulated scrolling based on the device:

  • Desktops (except Mac): simulated scrolling.
  • Other platforms: native scrolling.