MCPcopy Index your code
hub / github.com/ionic-team/ionic-framework / disabledChanged

Method disabledChanged

core/src/components/segment/segment.tsx:157–168  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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) {

Callers 1

componentDidLoadMethod · 0.95

Calls 2

gestureChangedMethod · 0.95
getButtonsMethod · 0.95

Tested by

no test coverage detected