fix(core): Update LitElement properties to use accessors

This commit is contained in:
2025-01-17 17:45:33 +01:00
parent bdf9aa7e54
commit 472fa6b684
3 changed files with 9 additions and 3 deletions

View File

@ -6,10 +6,10 @@ import { delayFor } from '@push.rocks/smartdelay';
@customElement('consentsoftware-toggle')
export class ConsentsoftwareToggle extends LitElement {
@property({ type: Boolean })
public required = false;
public accessor required = false;
@property({ type: Boolean, reflect: true })
public selected = false;
public accessor selected = false;
/**
* We always track the knobs left offset in `currentX`.