跳转到主要内容

uid

Description

创建一个在当前 scheduler 实例内保证唯一的唯一 ID(不是全局 GUID)

uid: () => number

Returns

  • uid - (number) - 生成的唯一 ID

Example

var new_id = scheduler.uid();
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.