Title | Added | Status | Last reviewed |
---|---|---|---|
Base Card View Content Update interface |
v6.0.0 |
Active |
2022-11-25 |
Specifies required properties and methods for Card View Content Update service.
Extends from BaseCardViewUpdate
.
export interface BaseCardViewContentUpdate {
itemUpdated$: Subject<UpdateNotification>;
updatedAspect$: Subject<Node>;
update(property: CardViewBaseItemModel, newValue: any);
updateElement(notification: CardViewBaseItemModel);
updateNodeAspect(node: Node);
}
Name | Type | Default value | Description |
---|---|---|---|
itemUpdated$ | Subject < UpdateNotification > |
The current updated item. | |
updatedAspect$ | Subject < MinimalNode > (@alfresco/js-api) |
Subject holding the current node |
-
update(property:
CardViewBaseItemModel
, newValue:any
)
Update itemUpdated$ property.- property:_
CardViewBaseItemModel
- The property. - newValue:_
any
- new value.
- property:_
-
updateElement(notification:
CardViewBaseItemModel
)
Update updateItem$ observable.- notification:_
CardViewBaseItemModel
- The notification.
- notification:_
-
updateNodeAspect(node:
MinimalNode
)
Update node aspect observable.- node:_
MinimalNode
- The node.
- node:_