mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +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"
|
[uploadFolders]="true"
|
||||||
[multipleFiles]="false"
|
[multipleFiles]="false"
|
||||||
[acceptedFilesType]=".jpg,.gif,.png,.svg"
|
[acceptedFilesType]=".jpg,.gif,.png,.svg"
|
||||||
|
[currentFolderPath]="/Sites/swsdp/documentLibrary"
|
||||||
|
[versioning]="false"
|
||||||
(onSuccess)="customMethod($event)">
|
(onSuccess)="customMethod($event)">
|
||||||
</alfresco-upload-button>
|
</alfresco-upload-button>
|
||||||
<file-uploading-dialog></file-uploading-dialog>
|
<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) |
|
`uploadFolders` | *boolean* | false | Allow/disallow upload folders (only for chrome) |
|
||||||
`multipleFiles` | *boolean* | false | Allow/disallow multiple files |
|
`multipleFiles` | *boolean* | false | Allow/disallow multiple files |
|
||||||
`acceptedFilesType` | *string* | * | array of allowed file extensions , example: ".jpg,.gif,.png,.svg" |
|
`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 |
|
`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
|
`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
|
### Files Dialog
|
||||||
This component provides a dialog that shows all the files uploaded
|
This component provides a dialog that shows all the files uploaded
|
||||||
with upload button or drag & drop area components. This component should
|
with upload button or drag & drop area components. This component should
|
||||||
|
Reference in New Issue
Block a user