Update cmenuDialog.js

This commit is contained in:
JFH
2021-05-21 10:42:46 +02:00
parent 5a87301f90
commit 396a60f518

View File

@@ -146,8 +146,8 @@ export class SeCMenuDialog extends HTMLElement {
this.$moveBackLink = this._shadowRoot.querySelector('#se-move-back'); this.$moveBackLink = this._shadowRoot.querySelector('#se-move-back');
} }
init (i18next) { init (i18next) {
var textnode = document.createTextNode(newValue); console.log(i18next);
this._shadowRoot.querySelector('#se-cut').prepend(textnode); this.setAttribute('toolscut', 'a test');
} }
/** /**
* @function observedAttributes * @function observedAttributes