mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
Allow button label to be added via staticTitle input (#1566)
* Allow button label to be added via staticTitle input Refs #1551 * Minor fix to JSDoc
This commit is contained in:
@@ -43,7 +43,7 @@ const ERROR_FOLDER_ALREADY_EXIST = 409;
|
||||
* @InputParam {boolean} [false] versioning - true to indicate that a major version should be created
|
||||
* @Output - onSuccess - The event is emitted when the file is uploaded
|
||||
*
|
||||
* @returns {UploadDragAreaComponent} .
|
||||
* @returns {UploadButtonComponent} .
|
||||
*/
|
||||
@Component({
|
||||
selector: 'alfresco-upload-button',
|
||||
@@ -70,6 +70,9 @@ export class UploadButtonComponent {
|
||||
@Input()
|
||||
acceptedFilesType: string = '*';
|
||||
|
||||
@Input()
|
||||
staticTitle: string;
|
||||
|
||||
@Input()
|
||||
currentFolderPath: string = '/';
|
||||
|
||||
|
Reference in New Issue
Block a user