onOpened Static Readonly
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
- core/backend/src/IModelDb.ts Line 2624
Last Updated: 23 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.