Skip to content

Commit 412b2fa

Browse files
committed
move internal property below prop-decorator and get/set methods.
1 parent 16c23d9 commit 412b2fa

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

packages/uui-radio/lib/uui-radio.element.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,6 @@ export class UUIRadioElement extends LitElement {
161161
public label = '';
162162

163163
@property({ type: Boolean, reflect: true })
164-
private _checked = false;
165164
public get checked() {
166165
return this._checked;
167166
}
@@ -177,8 +176,7 @@ export class UUIRadioElement extends LitElement {
177176
this.removeAttribute('aria-checked');
178177
}
179178
}
180-
181-
private _disabled = false;
179+
private _checked = false;
182180

183181
/**
184182
* Disables the input.
@@ -190,7 +188,6 @@ export class UUIRadioElement extends LitElement {
190188
get disabled() {
191189
return this._disabled;
192190
}
193-
194191
set disabled(newVal) {
195192
const oldVal = this._disabled;
196193
this._disabled = newVal;
@@ -200,6 +197,7 @@ export class UUIRadioElement extends LitElement {
200197
}
201198
this.requestUpdate('disabled', oldVal);
202199
}
200+
private _disabled = false;
203201

204202
constructor() {
205203
super();

0 commit comments

Comments
 (0)