remove Method
Overloads | |
---|---|
remove(field, projectId?, imodelId?) | Deprecated |
remove(field, imodel, scope) |
remove(field, projectId?, imodelId?)
Deprecated
Removes favorite properties from scopes that there is info about.
remove(field: Field, projectId?: string, imodelId?: string): Promise<void>
Returns - Promise<void>
remove(field, imodel, scope)
Removes favorite properties from a scope specified and all the more general scopes.
remove(field: Field, imodel: IModelConnection, scope: FavoritePropertiesScope): Promise<void>
note initializeConnection
must be called with the imodel
before calling this function.
Parameter | Type | Description |
---|---|---|
field | Field | Field that contains properties. If field contains multiple properties, all of them will be un-favorited. |
imodel | IModelConnection | IModelConnection. |
scope | FavoritePropertiesScope | FavoritePropertiesScope to remove the favorite properties from. It also removes from more general scopes. |
Returns - Promise<void>
Defined in
- presentation/frontend/src/presentation-frontend/favorite-properties/FavoritePropertiesManager.ts Line 252
Last Updated: 11 June, 2024