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

Method ratioLower

core/src/components/range/range.tsx:641–650  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

639 }
640
641 private get ratioLower() {
642 if (this.dualKnobs) {
643 return Math.min(this.ratioA, this.ratioB);
644 }
645 const { activeBarStart } = this;
646 if (activeBarStart == null) {
647 return 0;
648 }
649 return valueToRatio(activeBarStart, this.min, this.max);
650 }
651
652 private get ratioUpper() {
653 if (this.dualKnobs) {

Callers

nothing calls this directly

Calls 1

valueToRatioFunction · 0.85

Tested by

no test coverage detected