跳转到主要内容

scrollUnit

信息

此功能仅在 PRO 版本中可用。

Description

在 Units 视图中滚动指定数量的单位

scrollUnit: (step: number) => void

Parameters

  • step - (required) number - 要滚动的单位数量(使用正值向右侧滚动单位,
    使用负值向左侧滚动单位
    )。

Example

scheduler.scrollUnit(5);  //向右滚动 5 个单位
...
scheduler.scrollUnit(-5); //向左滚动 5 个单位

Applicable views: Units view

Details

注释

此方法需要激活 units 插件。

Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.