Skip to content
Snippets Groups Projects
Unverified Commit b6f0083b authored by Bekerle, Patrizio's avatar Bekerle, Patrizio :fire:
Browse files

Integrate this.getProperties (dbp/apps/signature#32)

parent 1972b2ce
No related branches found
No related tags found
No related merge requests found
Pipeline #15668 passed
......@@ -64,7 +64,7 @@ export class NextcloudFilePicker extends ScopedElementsMixin(DBPLitElement) {
* See: https://lit-element.polymer-project.org/guide/properties#initialize
*/
static get properties() {
return {
return this.getProperties({
lang: { type: String },
authUrl: { type: String, attribute: 'auth-url' },
webDavUrl: { type: String, attribute: 'web-dav-url' },
......@@ -84,7 +84,7 @@ export class NextcloudFilePicker extends ScopedElementsMixin(DBPLitElement) {
activeDirectoryACL: { type: String, attribute: false },
selectAllButton: { type: Boolean, attribute: false },
abortUploadButton: { type: Boolean, attribute: false },
};
});
}
update(changedProperties) {
......
......@@ -45,7 +45,7 @@ export class FileSink extends ScopedElementsMixin(DBPLitElement) {
* See: https://lit-element.polymer-project.org/guide/properties#initialize
*/
static get properties() {
return {
return this.getProperties({
context: { type: String, attribute: 'context'},
lang: { type: String },
filename: { type: String },
......@@ -58,7 +58,7 @@ export class FileSink extends ScopedElementsMixin(DBPLitElement) {
buttonLabel: { type: String, attribute: 'button-label' },
isDialogOpen: { type: Boolean, attribute: false },
activeDestination: { type: Boolean, attribute: false },
};
});
}
async downloadCompressedFiles() {
......
......@@ -63,7 +63,7 @@ export class FileSource extends ScopedElementsMixin(DBPLitElement) {
* See: https://lit-element.polymer-project.org/guide/properties#initialize
*/
static get properties() {
return {
return this.getProperties({
context: { type: String, attribute: 'context'},
lang: { type: String },
allowedMimeTypes: { type: String, attribute: 'allowed-mime-types' },
......@@ -77,7 +77,7 @@ export class FileSource extends ScopedElementsMixin(DBPLitElement) {
decompressZip: { type: Boolean, attribute: 'decompress-zip' },
activeSource: { type: Boolean, attribute: false },
isDialogOpen: { type: Boolean, attribute: 'dialog-open' },
};
});
}
update(changedProperties) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment