mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
* [ci:force] migrate Minimal Node to Node * [ci:force] remove js-api wrappers and use real types * [ci:force] remove js-api wrappers and use real types * [ci:force] fix linting errors * [ci:force] fix linting errors * [ci:force] security fixes * [ci:force] sonarcloud bug fixes * [ci:force] dead code elimination, sonar suggested fixes
2.6 KiB
2.6 KiB
Title, Added, Status, Last reviewed
Title | Added | Status | Last reviewed |
---|---|---|---|
Base Card View Content Update interface | v6.0.0 | Active | 2022-11-25 |
Base Card View Content Update interface
Specifies required properties and methods for Card View Content Update service.
Extends from BaseCardViewUpdate
.
Basic usage
export interface BaseCardViewContentUpdate {
itemUpdated$: Subject<UpdateNotification>;
updatedAspect$: Subject<Node>;
update(property: CardViewBaseItemModel, newValue: any);
updateElement(notification: CardViewBaseItemModel);
updateNodeAspect(node: Node);
}
Properties
Name | Type | Default value | Description |
---|---|---|---|
itemUpdated$ | Subject < UpdateNotification > |
The current updated item. | |
updatedAspect$ | Subject < MinimalNode > (@alfresco/js-api) |
Subject holding the current node |
Methods
-
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:_