mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Update README.md
This commit is contained in:
@@ -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)">
|
||||
</alfresco-upload-button>
|
||||
<file-uploading-dialog></file-uploading-dialog>
|
||||
@@ -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
|
||||
|
Reference in New Issue
Block a user