@@ -18,7 +18,7 @@ export default class CheckboxElement extends AdoptedStyleSheetMixin(
1818
1919 /* -------------------------------------------- */
2020
21- /** @override */
21+ /** @inheritdoc */
2222 static tagName = "dnd5e-checkbox" ;
2323
2424 /* -------------------------------------------- */
@@ -30,7 +30,7 @@ export default class CheckboxElement extends AdoptedStyleSheetMixin(
3030
3131 /* -------------------------------------------- */
3232
33- /** @override */
33+ /** @inheritdoc */
3434 static CSS = `
3535 :host {
3636 cursor: var(--cursor-pointer);
@@ -135,21 +135,21 @@ export default class CheckboxElement extends AdoptedStyleSheetMixin(
135135
136136 /* -------------------------------------------- */
137137
138- /** @override */
138+ /** @inheritdoc */
139139 get value ( ) {
140140 return super . value ;
141141 }
142142
143143 /**
144144 * Override AbstractFormInputElement#value setter because we want to emit input/change events when the checked state
145145 * changes, and not when the value changes.
146- * @override
146+ * @inheritdoc
147147 */
148148 set value ( value ) {
149149 this . _setValue ( value ) ;
150150 }
151151
152- /** @override */
152+ /** @inheritdoc */
153153 _getValue ( ) {
154154 // Workaround for FormElementExtended only checking the value property and not the checked property.
155155 if ( typeof this . _value === "string" ) return this . _value ;
@@ -160,7 +160,7 @@ export default class CheckboxElement extends AdoptedStyleSheetMixin(
160160 /* Element Lifecycle */
161161 /* -------------------------------------------- */
162162
163- /** @override */
163+ /** @inheritdoc */
164164 connectedCallback ( ) {
165165 this . _adoptStyleSheet ( this . _getStyleSheet ( ) ) ;
166166 const elements = this . _buildElements ( ) ;
@@ -172,21 +172,21 @@ export default class CheckboxElement extends AdoptedStyleSheetMixin(
172172
173173 /* -------------------------------------------- */
174174
175- /** @override */
175+ /** @inheritdoc */
176176 disconnectedCallback ( ) {
177177 this . _controller . abort ( ) ;
178178 }
179179
180180 /* -------------------------------------------- */
181181
182- /** @override */
182+ /** @inheritdoc */
183183 _adoptStyleSheet ( sheet ) {
184184 this . #shadowRoot. adoptedStyleSheets = [ sheet ] ;
185185 }
186186
187187 /* -------------------------------------------- */
188188
189- /** @override */
189+ /** @inheritdoc */
190190 _buildElements ( ) {
191191 const container = document . createElement ( "div" ) ;
192192 container . innerHTML = `
@@ -217,7 +217,7 @@ export default class CheckboxElement extends AdoptedStyleSheetMixin(
217217
218218 /* -------------------------------------------- */
219219
220- /** @override */
220+ /** @inheritdoc */
221221 _activateListeners ( ) {
222222 const { signal } = this . _controller = new AbortController ( ) ;
223223 this . addEventListener ( "click" , this . _onClick . bind ( this ) , { signal } ) ;
@@ -226,15 +226,15 @@ export default class CheckboxElement extends AdoptedStyleSheetMixin(
226226
227227 /* -------------------------------------------- */
228228
229- /** @override */
229+ /** @inheritdoc */
230230 _refresh ( ) {
231231 super . _refresh ( ) ;
232232 this . _internals . ariaChecked = `${ this . hasAttribute ( "checked" ) } ` ;
233233 }
234234
235235 /* -------------------------------------------- */
236236
237- /** @override */
237+ /** @inheritdoc */
238238 _onClick ( event ) {
239239 event . preventDefault ( ) ;
240240 this . checked = ! this . checked ;
0 commit comments