#878 doc and demo upload component

This commit is contained in:
Mario Romano
2016-11-09 02:42:22 +00:00
parent 5e0f592380
commit 0a8bc8bccc
4 changed files with 120 additions and 123 deletions

View File

@@ -45,28 +45,6 @@
"alfresco"
],
"dependencies": {
"@angular/common": "2.0.0",
"@angular/compiler": "2.0.0",
"@angular/core": "2.0.0",
"@angular/forms": "2.0.0",
"@angular/http": "2.0.0",
"@angular/platform-browser": "2.0.0",
"@angular/platform-browser-dynamic": "2.0.0",
"@angular/router": "3.0.0",
"@angular/upgrade": "2.0.0"
"@types/node": "^6.0.42", ,
"core-js": "^2.4.1",
"reflect-metadata": "^0.1.3",
"rxjs": "5.0.0-beta.12",
"systemjs": "0.19.27",
"zone.js": "^0.6.23",
"ng2-translate": "2.5.0",
"material-design-icons": "2.2.3",
"material-design-lite": "1.2.1",
"alfresco-js-api": "^0.3.0",
"ng2-alfresco-core": "^0.3.0",
"ng2-alfresco-upload": "^0.3.0"
},
"devDependencies": {

View File

@@ -69,7 +69,6 @@ import { UploadModule } from 'ng2-alfresco-upload';
</label>
</p>
<p style="width:250px;margin: 20px;">
<label for="switch-folder-upload" class="mdl-switch mdl-js-switch mdl-js-ripple-effect">
<input type="checkbox" id="switch-folder-upload" class="mdl-switch__input" (change)="toggleFolder()">
@@ -106,7 +105,7 @@ export class MyDemoApp implements OnInit {
authenticated: boolean;
public ecmHost: string = 'http://devproducts-platform.alfresco.me';
public ecmHost: string = 'http://localhost:8080';
multipleFileUpload: boolean = false;
folderUpload: boolean = false;
@@ -154,7 +153,6 @@ export class MyDemoApp implements OnInit {
});
}
toggleMultipleFileUpload() {
this.multipleFileUpload = !this.multipleFileUpload;
return this.multipleFileUpload;