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:
Will Abson
2017-01-28 14:52:12 +00:00
committed by Mario Romano
parent 3fad45394a
commit 09b98e7071
2 changed files with 10 additions and 4 deletions

View File

@@ -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 = '/';