Title | Added | Status | Last reviewed |
---|---|---|---|
Base Card View Update Interface |
v6.0.0 |
Active |
2022-11-25 |
Specifies required properties and methods for Card View Update service.
export interface BaseCardViewUpdate {
itemUpdated$: Subject<UpdateNotification>;
itemClicked$: Subject<ClickNotification>;
updateItem$: Subject<CardViewBaseItemModel>;
update(property: CardViewBaseItemModel, newValue: any);
clicked(property: CardViewBaseItemModel);
updateElement(notification: CardViewBaseItemModel);
}
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. |
-
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:_