mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
[ADF-2334] Added metadata to Markdown files (#2969)
This commit is contained in:
committed by
Eugenio Romano
parent
afe8778ac1
commit
4513cb0e09
@@ -1,26 +1,19 @@
|
||||
* * *
|
||||
|
||||
Added: v2.0.0
|
||||
|
||||
## Status: Active
|
||||
|
||||
# Card View Update service
|
||||
|
||||
Reports edits and clicks within fields of a [Card View component](card-view.component.md).
|
||||
|
||||
<!-- markdown-toc start - Don't edit this section. npm run toc to generate it-->
|
||||
|
||||
<!-- toc -->
|
||||
|
||||
- [Details](#details)
|
||||
* [Responding to updates](#responding-to-updates)
|
||||
* [Responding to clicks](#responding-to-clicks)
|
||||
- [See also](#see-also)
|
||||
|
||||
<!-- tocstop -->
|
||||
|
||||
<!-- markdown-toc end -->
|
||||
|
||||
## Details
|
||||
|
||||
You can use the Card View Update service to respond to edits and clicks within items on
|
||||
a card view. This might involve updating application data to reflect the changes made to
|
||||
the view or could simply be a matter of highlighting a clicked item.
|
||||
|
||||
|
||||
The service is injected into a component using a constructor parameter, which also
|
||||
creates a corresponding property in the object:
|
||||
|
||||
@@ -130,12 +123,8 @@ respondToCardClick(cn: ClickNotification) {
|
||||
}
|
||||
```
|
||||
|
||||
Note that this function will only be called if the `clickable` property of the model object is set to true
|
||||
for this item.
|
||||
Note that this function will only be called if the `clickable` property of the model object is set to true for this item.
|
||||
|
||||
<!-- Don't edit the See also section. Edit seeAlsoGraph.json and run config/generateSeeAlso.js -->
|
||||
<!-- seealso start -->
|
||||
## See also
|
||||
|
||||
- [Card view component](card-view.component.md)
|
||||
<!-- seealso end -->
|
||||
- [Card view component](card-view.component.md)
|
||||
|
||||
Reference in New Issue
Block a user