alfresco-ng2-components/docs/content-services/interfaces/base-card-view-content-update.interface.md
2023-01-02 14:00:01 +00:00

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<MinimalNode>;

    update(property: CardViewBaseItemModel, newValue: any);
    updateElement(notification: CardViewBaseItemModel);
    updateNodeAspect(node: MinimalNode);
}

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

See also