From bb4a91a6eedc2606ffc99b24c4688d8c0d9d1776 Mon Sep 17 00:00:00 2001 From: Mario Romano Date: Fri, 26 Aug 2016 17:56:36 +0100 Subject: [PATCH] Update README.md --- ng2-components/ng2-alfresco-upload/README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/ng2-components/ng2-alfresco-upload/README.md b/ng2-components/ng2-alfresco-upload/README.md index ef774b76ac..fb7fd07d1a 100644 --- a/ng2-components/ng2-alfresco-upload/README.md +++ b/ng2-components/ng2-alfresco-upload/README.md @@ -91,6 +91,8 @@ Also make sure you include these dependencies in your .html page: [uploadFolders]="true" [multipleFiles]="false" [acceptedFilesType]=".jpg,.gif,.png,.svg" + [currentFolderPath]="/Sites/swsdp/documentLibrary" + [versioning]="false" (onSuccess)="customMethod($event)"> @@ -149,6 +151,7 @@ Attribute | Options | Default | Description | Mandatory `uploadFolders` | *boolean* | false | Allow/disallow upload folders (only for chrome) | `multipleFiles` | *boolean* | false | Allow/disallow multiple files | `acceptedFilesType` | *string* | * | array of allowed file extensions , example: ".jpg,.gif,.png,.svg" | +`currentFolderPath` | *string* | * | define the path where the files are uploaded | `versioning` | *boolean* | false | Versioning false is the default uploader behaviour and it rename using an integer suffix if there is a name clash. Versioning true to indicate that a major version should be created | @@ -208,6 +211,15 @@ Attribute | Description --- | --- `onSuccess` | The event is emitted when the file is uploaded +#### Options + +Attribute | Options | Default | Description | Mandatory +--- | --- | --- | --- | --- +`showUdoNotificationBar` | *boolean* | true | Hide/show notification bar | +`currentFolderPath` | *string* | * | define the path where the files are uploaded | +`versioning` | *boolean* | false | Versioning false is the default uploader behaviour and it rename using an integer suffix if there is a name clash. Versioning true to indicate that a major version should be created | + + ### Files Dialog This component provides a dialog that shows all the files uploaded with upload button or drag & drop area components. This component should