BREAKING CHANGE(decorators): Migrate to TC39 standard decorators (accessor) across components, update tsconfig and bump dependencies
This commit is contained in:
@@ -30,13 +30,13 @@ export class DeesFormattingMenu extends DeesElement {
|
||||
}
|
||||
|
||||
@state()
|
||||
public visible: boolean = false;
|
||||
accessor visible: boolean = false;
|
||||
|
||||
@state()
|
||||
private position: { x: number; y: number } = { x: 0, y: 0 };
|
||||
accessor position: { x: number; y: number } = { x: 0, y: 0 };
|
||||
|
||||
@state()
|
||||
private menuZIndex: number = 1000;
|
||||
accessor menuZIndex: number = 1000;
|
||||
|
||||
private callback: ((command: string) => void | Promise<void>) | null = null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user