ui.Slider.setMax
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
स्लाइडर की ज़्यादा से ज़्यादा वैल्यू सेट करता है.
यह स्लाइडर दिखाता है.
इस्तेमाल | रिटर्न |
---|
Slider.setMax(value) | ui.Slider |
आर्ग्यूमेंट | टाइप | विवरण |
---|
यह: ui.slider | ui.Slider | ui.Slider इंस्टेंस. |
value | नंबर | स्लाइडर की ज़्यादा से ज़्यादा वैल्यू. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया."],[[["\u003cp\u003e\u003ccode\u003eSlider.setMax()\u003c/code\u003e sets the maximum value that the slider can reach.\u003c/p\u003e\n"],["\u003cp\u003eThe method takes a single argument, \u003ccode\u003evalue\u003c/code\u003e, which is a number representing the desired maximum.\u003c/p\u003e\n"],["\u003cp\u003eCalling \u003ccode\u003eSlider.setMax()\u003c/code\u003e returns the \u003ccode\u003eui.Slider\u003c/code\u003e instance, allowing for method chaining.\u003c/p\u003e\n"]]],[],null,["# ui.Slider.setMax\n\n\u003cbr /\u003e\n\nSets the maximum value of the slider.\n\n\u003cbr /\u003e\n\nReturns this slider.\n\n| Usage | Returns |\n|------------------------|-----------|\n| Slider.setMax`(value)` | ui.Slider |\n\n| Argument | Type | Details |\n|-------------------|-----------|-----------------------------|\n| this: `ui.slider` | ui.Slider | The ui.Slider instance. |\n| `value` | Number | The slider's maximum value. |"]]