onOpened StaticReadonly
onOpened: BeEvent<(_iModelDb: BriefcaseDb, _args: OpenBriefcaseArgs) => void> = ...
Event raised just after a BriefcaseDb is opened. Supplies the newly opened BriefcaseDb and the arguments that were used to open it.
Example:
BriefcaseDb.onOpened.addListener((iModel: BriefcaseDb) => {
if (iModel.openMode !== OpenMode.ReadWrite)
return;
// ... do something with the writeable briefcase
});
Defined in
- backend/src/IModelDb.ts Line 2333
Last Updated: 20 June, 2023