minor documentation fix

This commit is contained in:
Eugenio Romano
2017-11-28 23:01:00 +00:00
parent 6fbda1919c
commit 67ff5e68ec
4 changed files with 28 additions and 10 deletions

View File

@@ -1,6 +1,6 @@
# Host settings component # 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 it in the user local storage
![Host settings](docassets/images/host-settings-component.png) ![Host settings](docassets/images/host-settings-component.png)

View File

@@ -45,7 +45,7 @@ export class MyComponent {
## Details ## Details
The `NodeFavoriteDirective` instance can be bound to a template variable through **adfFavorite** reference, 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 ```html
<button <button

View File

@@ -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 <adf-task-attachment-list
[taskId]="YOUR_TASK_ID" [taskId]="YOUR_TASK_ID"
(attachmentClick)="YOUR_HANDLER"> (attachmentClick)="YOUR_HANDLER">
<div adf-empty-list> //no content template
<adf-empty-list> <adf-empty-list>
<div adf-empty-list-header>{{This List is empty}}</div> <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-body>{{Drag and drop to upload}}</div>
<div adf-empty-list-footer> <div adf-empty-list-footer>
<img [src]="Your custom image URL"></div> <img [src]="Your custom image URL"></div>
</adf-empty-list> </adf-empty-list>
</div>
</adf-task-attachment-list> </adf-task-attachment-list>
</adf-upload-drag-area> </adf-upload-drag-area>
``` ```

View File

@@ -36,6 +36,26 @@ and icons is shown in the table below:
| Keynote presentation | ![Keynote thumbnail](docassets/images/ft_ic_presentation.png) | 'application/vnd.apple.keynote' | | Keynote presentation | ![Keynote thumbnail](docassets/images/ft_ic_presentation.png) | 'application/vnd.apple.keynote' |
| Numbers spreadsheet | ![Numbers thumbnail](docassets/images/ft_ic_spreadsheet.png) | 'application/vnd.apple.numbers' | | Numbers spreadsheet | ![Numbers thumbnail](docassets/images/ft_ic_spreadsheet.png) | '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 --> <!-- Don't edit the See also section. Edit seeAlsoGraph.json and run config/generateSeeAlso.js -->
<!-- seealso start --> <!-- seealso start -->
## See also ## See also