fix(core): Update LitElement properties to use accessors
This commit is contained in:
@ -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 knob’s left offset in `currentX`.
|
||||
|
Reference in New Issue
Block a user