()
| 165 | } |
| 166 | |
| 167 | private toggleChecked() { |
| 168 | const { checked, value } = this; |
| 169 | |
| 170 | const isNowChecked = !checked; |
| 171 | this.checked = isNowChecked; |
| 172 | |
| 173 | this.ionChange.emit({ |
| 174 | checked: isNowChecked, |
| 175 | value, |
| 176 | }); |
| 177 | } |
| 178 | |
| 179 | async connectedCallback() { |
| 180 | const { didLoad, el } = this; |