Readme updates

refs #9
This commit is contained in:
Denys Vuika 2016-05-03 11:58:20 +01:00
parent 0a160c6d91
commit 426b1df17a
7 changed files with 8 additions and 7 deletions

View File

@ -67,8 +67,8 @@ In addition ```DOCUMENT_LIST_PROVIDERS``` exports all primary services and provi
### Custom folder icon
Document list element exposes ```folder-icon``` property that accepts a CSS class list value with
```glyphicon glyphicon-folder-close``` by default.
Document list element exposes `folder-icon` property that accepts a CSS class list value with
[folder_open](https://design.google.com/icons/#ic_folder_open) by default.
![Default folder icon](docs/assets/folder-icon-default.png)
@ -76,7 +76,7 @@ You can provide any list of classes in order to customize look and feel of the i
Example below shows the use of [Font Awesome](http://fontawesome.io/) icon instead of the default one:
```html
<alfresco-document-list folder-icon="fa fa-folder-o" ...>
<alfresco-document-list folder-icon="folder_special" ...>
</alfresco-document-list>
```
@ -115,13 +115,14 @@ All document actions are rendered as a dropdown menu as on the picture below:
#### Quick document actions
It is also possible to display most frequent actions within a separate ```<quick-documents>```
It is also possible to display most frequent actions within a separate `<quick-documents>`
buttons panel:
```html
<alfresco-document-list ...>
<quick-document-actions>
<quick-document-action icon="glyphicon glyphicon-pushpin" handler="system1"></quick-document-action>
<quick-document-action icon="extension" handler="system1"></quick-document-action>
<quick-document-action icon="thumb_up" handler="system2"></quick-document-action>
</quick-document-actions>
</alfresco-document-list>
```
@ -157,13 +158,13 @@ export class MyView {
#### Quick folder actions
Quick folder actions have the same behavior as quick document actions.
You can use custom or system handler and provide icon, text or both.
You can use custom or system handler, provide icon and title.
Every folder action is rendered as a separate button.
```html
<alfresco-document-list ...>
<quick-folder-actions>
<quick-folder-action title="Delete" handler="system1"></quick-folder-action>
<quick-folder-action icon="delete" title="Delete" handler="system1"></quick-folder-action>
</quick-folder-actions>
</alfresco-document-list>
```

Binary file not shown.

Before

Width:  |  Height:  |  Size: 130 KiB

After

Width:  |  Height:  |  Size: 82 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 104 KiB

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 64 KiB

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 63 KiB

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 119 KiB

After

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 92 KiB

After

Width:  |  Height:  |  Size: 33 KiB