mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
[ADF-3514] Added transclusions sections to doc files (#3756)
* [ADF-3514] Added transclusion sections and guide page * [ADF-3514] Updated tables of contents where needed * [ADF-3514] Updated index files
This commit is contained in:
committed by
Eugenio Romano
parent
35e1563fde
commit
2c49de6070
@@ -19,6 +19,23 @@ Displays attached documents on a specified task.
|
||||
</adf-task-attachment-list>
|
||||
```
|
||||
|
||||
### [Transclusions](../user-guide/transclusion.md)
|
||||
|
||||
Any content inside the `<adf-task-attachment-list>` element will be displayed
|
||||
when the list is empty:
|
||||
|
||||
```html
|
||||
<adf-task-attachment-list ...>
|
||||
<div><!-- Custom empty list message goes here --></div>
|
||||
</adf-task-attachment-list>
|
||||
```
|
||||
|
||||

|
||||
|
||||
A default "no content" template is displayed if you don't supply one to override it:
|
||||
|
||||

|
||||
|
||||
## Class members
|
||||
|
||||
### Properties
|
||||
@@ -38,10 +55,6 @@ Displays attached documents on a specified task.
|
||||
|
||||
## Details
|
||||
|
||||
If the List is empty, a default "no content" template is displayed.
|
||||
|
||||

|
||||
|
||||
### How to Add Drag and Drop Functionality
|
||||
|
||||
You can wrap the component with an [Upload Drag Area component](../content-services/upload-drag-area.component.md)
|
||||
@@ -90,7 +103,3 @@ export class MyCustomTaskAttachmentComponent {
|
||||
```
|
||||
|
||||
[Upload Drag Area Component](../content-services/upload-drag-area.component.md)
|
||||
|
||||
If the List is empty, the custom no-content template we passed is displayed.
|
||||
|
||||

|
||||
|
Reference in New Issue
Block a user