mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
minor documentation fix
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Host settings component
|
||||
|
||||
This component is a form that allow you to validate and set the url of your content service and process service saving
|
||||
This component is a form that allows you to validate and set the url of your content service and process service saving
|
||||
it in the user local storage
|
||||
|
||||

|
||||
|
@@ -45,7 +45,7 @@ export class MyComponent {
|
||||
## Details
|
||||
|
||||
The `NodeFavoriteDirective` instance can be bound to a template variable through **adfFavorite** reference,
|
||||
wich provides a method to help further style the element.
|
||||
which provides a method to help further style the element.
|
||||
|
||||
```html
|
||||
<button
|
||||
|
@@ -27,14 +27,12 @@ If we want user to be able to upload attachments for empty lists, We can wrap ou
|
||||
<adf-task-attachment-list
|
||||
[taskId]="YOUR_TASK_ID"
|
||||
(attachmentClick)="YOUR_HANDLER">
|
||||
<div adf-empty-list> //no content template
|
||||
<adf-empty-list>
|
||||
<div adf-empty-list-header>{{This List is empty}}</div>
|
||||
<div adf-empty-list-body>{{Drag and drop to upload}}</div>
|
||||
<div adf-empty-list-footer>
|
||||
<img [src]="Your custom image URL"></div>
|
||||
</adf-empty-list>
|
||||
</div>
|
||||
<adf-empty-list>
|
||||
<div adf-empty-list-header>{{This List is empty}}</div>
|
||||
<div adf-empty-list-body>{{Drag and drop to upload}}</div>
|
||||
<div adf-empty-list-footer>
|
||||
<img [src]="Your custom image URL"></div>
|
||||
</adf-empty-list>
|
||||
</adf-task-attachment-list>
|
||||
</adf-upload-drag-area>
|
||||
```
|
||||
|
@@ -36,6 +36,26 @@ and icons is shown in the table below:
|
||||
| Keynote presentation |  | 'application/vnd.apple.keynote' |
|
||||
| Numbers spreadsheet |  | 'application/vnd.apple.numbers' |
|
||||
|
||||
## Mat-icon
|
||||
|
||||
All the MIME types ADF icon are now registered into the MatIconRegistry, this will allow you to use all the icon through the mat-icon tag:
|
||||
|
||||
```javascript
|
||||
import { ThumbnailService } from '@alfresco/adf-core';
|
||||
|
||||
constructor(public thumbnailService: ThumbnailService) {
|
||||
}
|
||||
```
|
||||
|
||||
```html
|
||||
MP4 <mat-icon svgIcon="video/mp4"></mat-icon>
|
||||
PDF <mat-icon svgIcon="application/pdf"></mat-icon>
|
||||
GIF <mat-icon svgIcon="image/gif"></mat-icon>
|
||||
.....
|
||||
```
|
||||
|
||||
|
||||
|
||||
<!-- Don't edit the See also section. Edit seeAlsoGraph.json and run config/generateSeeAlso.js -->
|
||||
<!-- seealso start -->
|
||||
## See also
|
||||
|
Reference in New Issue
Block a user