mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-1344] New Custom Loading Content Directive for Datatable Component (#4156)
* [ADF-1344] New Custom Loading Content Directive for Datatable Component * [ADF-1344] Add unit tests for directives on Document List * [ADF-1344] Add directive prefix to context-menu directive * [ADF-1344] Old directive selectors have been put back * [ADF-1344] Add old selector for empty-content directive
This commit is contained in:
committed by
Eugenio Romano
parent
5887fa1052
commit
1c25b50b1a
@@ -22,14 +22,14 @@ Shows all available apps.
|
||||
### [Transclusions](../user-guide/transclusion.md)
|
||||
|
||||
You can show custom content when there are no apps available by supplying an
|
||||
`<adf-empty-custom-content>` section:
|
||||
`<adf-custom-empty-content>` section:
|
||||
|
||||
```html
|
||||
<adf-apps
|
||||
[layoutType]="'GRID'">
|
||||
<adf-empty-custom-content>
|
||||
<adf-custom-empty-content>
|
||||
No Apps present
|
||||
</adf-empty-custom-content>
|
||||
</adf-custom-empty-content>
|
||||
</adf-apps>
|
||||
```
|
||||
|
||||
|
@@ -34,14 +34,14 @@ Renders a list containing all the process instances matched by the parameters sp
|
||||
|
||||
### [Transclusions](../user-guide/transclusion.md)
|
||||
|
||||
Any content inside an `<adf-empty-custom-content>` sub-component will be shown
|
||||
Any content inside an `<adf-custom-empty-content>` sub-component will be shown
|
||||
when the process list is empty:
|
||||
|
||||
```html
|
||||
<adf-process-instance-list>
|
||||
<adf-empty-custom-content>
|
||||
<adf-custom-empty-content>
|
||||
Your Content
|
||||
</adf-empty-custom-content>
|
||||
</adf-custom-empty-content>
|
||||
<adf-process-instance-list>
|
||||
```
|
||||
|
||||
|
@@ -64,12 +64,12 @@ example:
|
||||
|
||||
```html
|
||||
<adf-task-details [taskId]="taskId">
|
||||
<no-task-details-template>
|
||||
<adf-no-task-details-template>
|
||||
<ng-template>
|
||||
<h1>Sorry, no tasks here</h1>
|
||||
<img src="example.jpg">
|
||||
</ng-template>
|
||||
</no-task-details-template>
|
||||
</adf-no-task-details-template>
|
||||
</adf-task-details>
|
||||
```
|
||||
|
||||
|
@@ -36,14 +36,14 @@ Renders a list containing all the tasks matched by the parameters specified.
|
||||
|
||||
### [Transclusions](../user-guide/transclusion.md)
|
||||
|
||||
Any content inside an `<adf-empty-custom-content>` sub-component will be shown
|
||||
Any content inside an `<adf-custom-empty-content>` sub-component will be shown
|
||||
when the task list is empty:
|
||||
|
||||
```html
|
||||
<adf-tasklist>
|
||||
<adf-empty-custom-content>
|
||||
<adf-custom-empty-content>
|
||||
Your Content
|
||||
</adf-empty-custom-content>
|
||||
</adf-custom-empty-content>
|
||||
<adf-tasklist>
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user