API事件onBeforeLightbox本页内容onBeforeLightbox Description 在用户打开lightbox(编辑表单)之前触发 onBeforeLightbox: (id: string) => booleanParameters id - (required) string - 事件的id Returns result - (boolean) - 决定事件的默认操作是否继续执行(true)或被阻止(false) Examplescheduler.attachEvent("onBeforeLightbox", function (id){ // 可以在这里添加自定义逻辑 return true;});Related samples