mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Dev eromano tag example (#1596)
* Update README.md * Readme update with tag example integration document list * add tag component in the document list demo
This commit is contained in:
committed by
Mario Romano
parent
30b4db8161
commit
5c5911beef
@@ -265,7 +265,7 @@ This can be changed by adding the following custom html template:
|
||||
The component shows all the available apps.
|
||||
|
||||
```html
|
||||
<activiti-apps [layoutType]="'GRID'"></activiti-filters>
|
||||
<activiti-apps [layoutType]="'GRID'"></activiti-apps>
|
||||
```
|
||||
|
||||
#### Events
|
||||
|
@@ -501,7 +501,7 @@ _You may want using **row** api to get raw value access.
|
||||
|
||||
Use **data** api to get values with post-processing, like datetime/icon conversion._
|
||||
|
||||
Final example, we'll name the context as `entry`:
|
||||
In the Example below will prepend `Hi!` to each file and folder name in the list:
|
||||
|
||||
```html
|
||||
<content-column title="Name" key="name" sortable="true" class="full-width ellipsis-cell">
|
||||
@@ -511,9 +511,21 @@ Final example, we'll name the context as `entry`:
|
||||
</content-column>
|
||||
```
|
||||
|
||||
Example above will prepend `Hi!` to each file and folder name in the list.
|
||||
In the Example below will add the [ng2-alfresco-tag](https://www.npmjs.com/package/ng2-alfresco-tag) component is integrate in the document list.
|
||||
|
||||
```html
|
||||
<content-column
|
||||
title="{{'DOCUMENT_LIST.COLUMNS.TAG' | translate}}"
|
||||
key="id"
|
||||
sortable="true"
|
||||
class="full-width ellipsis-cell">
|
||||
<template let-entry="$implicit">
|
||||
<alfresco-tag-node-list [nodeId]="entry.data.getValue(entry.row, entry.col)"></alfresco-tag-node-list>
|
||||
</template>
|
||||
</content-column>
|
||||
```
|
||||
|
||||

|
||||
|
||||
### Actions
|
||||
|
||||
|
Binary file not shown.
After Width: | Height: | Size: 84 KiB |
Reference in New Issue
Block a user