Skip to content

Commit afa3d68

Browse files
authored
Update view when view attachments are modified (#8745)
1 parent 8fb5a46 commit afa3d68

File tree

7 files changed

+1279
-855
lines changed

7 files changed

+1279
-855
lines changed

common/api/core-frontend.api.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9855,7 +9855,7 @@ export class SheetViewState extends ViewState2d {
98559855
// (undocumented)
98569856
get areAllTileTreesLoaded(): boolean;
98579857
// (undocumented)
9858-
get attachmentIds(): Id64Array;
9858+
get attachmentIds(): readonly string[];
98599859
// @internal
98609860
get attachments(): object[] | undefined;
98619861
attachToViewport(args: AttachToViewportArgs): void;
@@ -9894,6 +9894,7 @@ export class SheetViewState extends ViewState2d {
98949894
isDrawingView(): this is DrawingViewState;
98959895
// (undocumented)
98969896
isSheetView(): this is SheetViewState;
9897+
readonly onViewAttachmentsReloaded: BeEvent<() => void>;
98979898
// @internal (undocumented)
98989899
protected postload(hydrateResponse: HydrateViewStateResponseProps): Promise<void>;
98999900
// @internal (undocumented)
@@ -9904,7 +9905,7 @@ export class SheetViewState extends ViewState2d {
99049905
// (undocumented)
99059906
toProps(): ViewStateProps;
99069907
// @internal
9907-
get viewAttachmentInfos(): Id64Array | Array<{
9908+
get viewAttachmentInfos(): readonly Id64String[] | Array<{
99089909
attachedView: ViewState;
99099910
}>;
99109911
// @internal
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"changes": [
3+
{
4+
"packageName": "@itwin/core-frontend",
5+
"comment": "Update view when view attachment elements are modified.",
6+
"type": "none"
7+
}
8+
],
9+
"packageName": "@itwin/core-frontend"
10+
}

0 commit comments

Comments
 (0)