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

Method getText

core/src/components/select/select.tsx:866–872  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

864 }
865
866 private getText(): string {
867 const selectedText = this.selectedText;
868 if (selectedText != null && selectedText !== '') {
869 return selectedText;
870 }
871 return generateText(this.childOpts, this.value, this.compareWith);
872 }
873
874 private setFocus() {
875 if (this.focusEl) {

Callers 3

hasValueMethod · 0.95
renderSelectTextMethod · 0.95
ariaLabelMethod · 0.95

Calls 1

generateTextFunction · 0.85

Tested by

no test coverage detected