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
Properties | Description | Required | Type |
---|---|---|---|
target | The VIEW_CONTAINER widget that needs to be bound is the whole page scroll bar by default, and the VIEW_CONTAINER scroll bar is passed in | NO | object |
Code example
import { createWidget, widget } from '@zos/ui'
const scrollBar = createWidget(widget.PAGE_SCROLLBAR)