Open
Description
I've a mixin like this
type Constructor<T> = { new (...args: any[]): T };
function VisuElement<B extends Constructor<any>>(base: B) {
return class extends base {
constructor(...args: any[]) {
super();
this._ve = true;
this._veBindings = [];
}
static get properties() {
return {
unbindOnUnload: Boolean //Needed when a Element is created via a Dom repeat
}
here it is not possible to replace static get properties() with decorator. => "Decorators are not valid here"
Metadata
Assignees
Labels
No labels