MCPcopy Create free account
hub / github.com/ionic-team/ionic-framework / getName

Method getName

core/src/components/spinner/spinner.tsx:42–49  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

40 @Prop() paused = false;
41
42 private getName(): SpinnerTypes {
43 const spinnerName = this.name || config.get('spinner');
44 const mode = getIonMode(this);
45 if (spinnerName) {
46 return spinnerName;
47 }
48 return mode === 'ios' ? 'lines' : 'circular';
49 }
50
51 render() {
52 const self = this;

Callers 1

renderMethod · 0.80

Calls 2

getIonModeFunction · 0.90
getMethod · 0.65

Tested by

no test coverage detected