diff --git a/ng2-components/ng2-alfresco-datatable/README.md b/ng2-components/ng2-alfresco-datatable/README.md index 18f33b5eb3..b379d36ea7 100644 --- a/ng2-components/ng2-alfresco-datatable/README.md +++ b/ng2-components/ng2-alfresco-datatable/README.md @@ -13,7 +13,8 @@ + [DataTable DOM Events](#datatable-dom-events) + [Empty content template](#empty-content-template) + [Loading content template](#loading-content-template) - - [Column Templates](#column-templates) + + [Column Templates](#column-templates) + + [Events](#events) - [rowClick event](#rowclick-event) - [rowDblClick event](#rowdblclick-event) - [showRowContextMenu event](#showrowcontextmenu-event) @@ -23,7 +24,7 @@ * [Generate schema](#generate-schema) - [Pagination Component](#pagination-component) + [Properties](#properties) - + [Events](#events) + + [Events](#events-1) * [Build from sources](#build-from-sources) * [NPM scripts](#npm-scripts) * [Demo](#demo) @@ -274,7 +275,7 @@ You can add a template that will be showed during the loading of your data: Note: the `` and `` can be used together -#### Column Templates +### Column Templates It is possible assigning a custom column template like the following: @@ -320,6 +321,8 @@ In the second case `entry` variable is holding a reference to the following data } ``` +### Events + #### rowClick event _This event is emitted when user clicks the row._ diff --git a/ng2-components/ng2-alfresco-viewer/README.md b/ng2-components/ng2-alfresco-viewer/README.md index 53f9f4fb20..7e6da41796 100644 --- a/ng2-components/ng2-alfresco-viewer/README.md +++ b/ng2-components/ng2-alfresco-viewer/README.md @@ -10,6 +10,7 @@ - [Basic usage](#basic-usage) - [Properties](#properties) - [Supported file formats](#supported-file-formats) +- [PDF Conversion](#pdf-conversion) - [Custom extension handler](#custom-extension-handler) - [Build from sources](#build-from-sources) - [NPM scripts](#npm-scripts) @@ -76,6 +77,13 @@ Using with file url: | Images | png, jpg, jpeg, gif, bmp | | Text | pdf, txt | +## PDF Conversion + +![Rendition](docs/assets/renditions.png) + +Note for unsupported extension the viewer will offer the possibility to convert it in PDF is that kind of extension is supported by the [content service renditions service](https://community.alfresco.com/docs/DOC-5879-rendition-service) + + ## Custom extension handler If you want handle other file formats that are not yet supported by the ng2-alfresco-viewer you can define your own custom handler. diff --git a/ng2-components/ng2-alfresco-viewer/docs/assets/renditions.png b/ng2-components/ng2-alfresco-viewer/docs/assets/renditions.png new file mode 100644 index 0000000000..02198cbf85 Binary files /dev/null and b/ng2-components/ng2-alfresco-viewer/docs/assets/renditions.png differ