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

Method checked

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

Source from the content-addressed store, hash-verified

269 }
270
271 private get checked() {
272 return this.getButtons().find((button) => button.value === this.value);
273 }
274
275 /*
276 * Activate both the segment and the buttons

Callers

nothing calls this directly

Calls 1

getButtonsMethod · 0.95

Tested by

no test coverage detected