mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-09-17 14:21:29 +00:00
3.2 KiB
3.2 KiB
Title, Added, Status, Last reviewed
Title | Added | Status | Last reviewed |
---|---|---|---|
Base Card View Update Interface | v6.0.0 | Active | 2024-06-11 |
Base Card View Update interface
Specifies required properties and methods for Card View Update service.
Basic usage
export interface BaseCardViewUpdate {
itemUpdated$: Subject<UpdateNotification>;
itemClicked$: Subject<ClickNotification>;
updateItem$: Subject<CardViewBaseItemModel>;
predictionStatusChanged$: Subject<PredictionStatusUpdate[]>;
update(property: CardViewBaseItemModel, newValue: any);
clicked(property: CardViewBaseItemModel);
updateElement(notification: CardViewBaseItemModel);
onPredictionStatusChanged(notification: PredictionStatusUpdate[]);
}
Properties
Name | Type | Description |
---|---|---|
itemUpdated$ | Subject < UpdateNotification > |
The current updated item. |
itemClicked$ | Subject < ClickNotification > |
The current clicked item. |
updateItem$ | Subject < CardViewBaseItemModel > |
The current model for the update item. |
predictionStatusChanged$ | Subject < PredictionStatusUpdate[] > |
Notification of prediction status change. |
Methods
-
update(property:
CardViewBaseItemModel
, newValue:any
)
Update itemUpdated$ property.- property:_
CardViewBaseItemModel
- The property. - newValue:_
any
- new value.
- property:_
-
clicked(property:
CardViewBaseItemModel
)
Update itemClicked$ property.- property:_
CardViewBaseItemModel
- The property.
- property:_
-
updateElement(notification:
CardViewBaseItemModel
)
Update updateItem$ observable.- notification:_
CardViewBaseItemModel
- The notification.
- notification:_
-
onPredictionStatusChanged(notification:
PredictionStatusUpdate[]
)
Update predictionStatusChanged$ observable.- notification:_
PredictionStatusUpdate[]
- The notification.
- notification:_