()
| 155 | |
| 156 | @Watch('disabled') |
| 157 | disabledChanged() { |
| 158 | this.gestureChanged(); |
| 159 | |
| 160 | if (!this.segmentViewEl) { |
| 161 | const buttons = this.getButtons(); |
| 162 | for (const button of buttons) { |
| 163 | button.disabled = this.disabled; |
| 164 | } |
| 165 | } else { |
| 166 | this.segmentViewEl.disabled = this.disabled; |
| 167 | } |
| 168 | } |
| 169 | |
| 170 | private gestureChanged() { |
| 171 | if (this.gesture) { |
no test coverage detected