Skip to main content
Version: v3

PAGE_SCROLLBAR

Start from API_LEVEL 3.0. Please refer to API_LEVEL

Page Scrollbar.

Create UI widget

import { createWidget, widget } from '@zos/ui'

const scrollBar = createWidget(widget.PAGE_SCROLLBAR, Param)

Param: object

PropertiesDescriptionRequiredType
targetThe VIEW_CONTAINER widget that needs to be bound is the whole page scroll bar by default, and the VIEW_CONTAINER scroll bar is passed inNOobject

Code example

import { createWidget, widget } from '@zos/ui'

const scrollBar = createWidget(widget.PAGE_SCROLLBAR)