MCPcopy Create free account
hub / github.com/NativeScript/NativeScript / getNativeMaxValue

Function getNativeMaxValue

apps/automated/src/ui/slider/slider-tests.ts:574–580  ·  view source on GitHub ↗
(slider: Slider)

Source from the content-addressed store, hash-verified

572}
573
574function getNativeMaxValue(slider: Slider): number {
575 if (slider.android) {
576 return slider.android.getMax();
577 } else if (slider.ios) {
578 return slider.ios.maximumValue;
579 }
580}
581
582function setNativeValue(slider: Slider, value: number) {
583 if (slider.android) {

Callers 1

testActionFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected