मीटर
दिखाता है कि कोई ज्ञात मान किसी ज्ञात रेंज में कहाँ है — इस्तेमाल हुआ स्टोरेज, बैटरी का चार्ज, कोई कोटा, पासवर्ड की मज़बूती — एक बार या रिंग के रूप में, जो प्रोग्रेस इंडिकेटर जैसा दिखता है, पर यह नहीं कहता कि कुछ चल रहा है।
- श्रेणी
- कम्युनिकेशन
- टोकन
comp.meter- स्तर
- आधार
- Web
tanrei-meterclock_loader_40 - SwiftUI
TanreiMeterradio_button_unchecked - Jetpack Compose
TanreiMeterradio_button_unchecked - Flutter
TanreiMeterradio_button_unchecked - React Native
Meterradio_button_unchecked
इससे जनरेट किया गया: docs/status/status.json, specs/meter.spec.json
Linear और circular
Web और React के उदाहरण मौजूदा स्पेक दिखाते हैं। SwiftUI, Compose, Flutter और React Native योजना में हैं: वे अभी मीटर नहीं देते।
<tanrei-meter value="0.62" label="इस्तेमाल हुआ स्टोरेज" value-text="15 GB में से 9.3 GB"></tanrei-meter>
<tanrei-meter value="37" max="50" label="भरी हुई सीटें" value-text="50 में से 37 सीटें"></tanrei-meter>
<!-- मान का क्या मतलब है, यह प्रोडक्ट तय करता है, और उसे शब्दों में भी कहता है। -->
<tanrei-meter value="0.85" status="warning" label="इस्तेमाल हुआ स्टोरेज" value-text="लगभग भरा हुआ: 15 GB में से 12.8 GB"></tanrei-meter>
<tanrei-meter variant="circular" size="small" value="0.62" label="बैटरी"></tanrei-meter>
<script type="module">
import '@tanrei/web/components/meter';
const meter = document.querySelector('tanrei-meter');
meter.value = used / quota;
meter.status = used / quota > 0.8 ? 'warning' : 'default';
</script>import { Meter } from '@tanrei/react';
<Meter value={used / quota} label="इस्तेमाल हुआ स्टोरेज" valueText={`${quotaText} में से ${usedText}`} />
<Meter value={seats} max={50} label="भरी हुई सीटें" valueText={`50 में से ${seats} सीटें`} />
<Meter
value={used / quota}
status={used / quota > 0.8 ? 'warning' : 'default'}
label="इस्तेमाल हुआ स्टोरेज"
valueText={used / quota > 0.8 ? `लगभग भरा हुआ: ${quotaText} में से ${usedText}` : `${quotaText} में से ${usedText}`}
/>
<Meter variant="circular" size="small" value={charge} label="बैटरी" />स्थितियाँ: default, info, success, warning, error
साइज़, रेंज के दोनों छोर और अपनी रेंज
अलगाव: divider (डिफ़ॉल्ट सिस्टम का चुनाव) और gap
संरचना
संरचना
linear बनाता है, उसी के ऊपर बनाया गया।| भाग | विवरण |
|---|---|
1 track | The full length of the bar, or the full circle of the ring: the whole range from min to max. |
2 indicator | The part of the track drawn in the indicator color of the meter's status: the fraction of the range up to the value. It meets the rest of the track, or stands a gap from it (separation). |
3 stop-indicator · वैकल्पिक | A dot at the end of a bar's track that marks where the range ends, drawn whenever its size is above 0. |
प्रॉपर्टी
| प्रॉपर्टी | टाइप | डिफ़ॉल्ट | विवरण |
|---|---|---|---|
variant | linear | circular | "linear" | Linear is a bar that fills the width its layout gives it; circular is a ring of a fixed size, for tight places and beside text. A structural choice drawn by code, not a token axis, as the progress indicator's is. |
size | small | medium | large | "medium" | The bar's thickness or the ring's box, the progress indicator's three sizes by default (2 / 4 / 8 and 16 / 24 / 40). A design system may add values. |
separation | auto | divider | gap | "auto" | How the indicator is told from the rest of its track. divider: drawn on the track with no space between them. gap: empty space between them. Auto takes comp.meter.track.separation, which follows the design system's choice. |
value | number | 0 | Where the measured quantity stands, between min and max. Always a number: a meter has no unknown value, and a task under way is a progress indicator. |
min | number | 0 | The low end of the range. |
max | number | 1 | The high end of the range. |
status | default | info | success | warning | error | "default" | What the product says the value means, in the names the tag and the snackbar use: default draws the indicator in the meter's own color; info, success, warning and error in that status's color. The product decides it — the meter has no thresholds of its own — and it changes colors only: the words that say so are valueText's and the product's. |
label | string | "" | The accessible name: what is measured ("Storage used"). Required: a bar alone is not a name. |
valueText | string | "" | How assistive technology reads the value when a percentage is not the natural reading ("12.4 GB of 15 GB", "Strong"). Empty reads the platform's percentage. Where status means something, say it here too ("Almost full: 14.2 GB of 15 GB"). |
स्टेट
व्यवहार
EARS रूप में लिखी गई आवश्यकताएँ। हर प्लैटफ़ॉर्म के इम्प्लीमेंटेशन को इन ID के आधार पर टेस्ट किया जाता है। आवश्यकताओं का पाठ स्पेक फ़ाइल से ज्यों का त्यों, अंग्रेज़ी में दिखाया गया है।
| ID | आवश्यकता |
|---|---|
MTR-1 | THE meter SHALL draw the indicator over the fraction (value − min) / (max − min) of the track, from the track's start: the inline-start of a bar, the top of a ring, turning clockwise. |
MTR-2 | THE meter SHALL draw a bar comp.meter.linear.thickness.medium high for medium (and so on for each size) across the full inline size its layout gives it, and a ring whose outer edge fills a comp.meter.circular.size.medium square with a stroke of comp.meter.circular.thickness.medium for medium (and so on for each size). |
MTR-3 | THE meter SHALL draw the track in comp.meter.track.color and the indicator over it in the indicator color of its status — comp.meter.indicator.color WHILE status is default, comp.meter.info.indicator.color WHILE it is info, comp.meter.success.indicator.color WHILE it is success, comp.meter.warning.indicator.color WHILE it is warning and comp.meter.error.indicator.color WHILE it is error; the ends of a bar's track and indicator SHALL be rounded by comp.meter.track.shape, clamped to half the thickness, and a ring's arcs SHALL have round caps unless comp.meter.track.shape is sys.shape.corner.none. |
MTR-4 | THE meter SHALL tell the indicator from the rest of its track as its separation names — WHILE separation is auto, as comp.meter.track.separation names; WHILE it is divider or gap, as that value names — and WHILE the separation is gap and value lies strictly between min and max SHALL leave comp.meter.track.gap of empty space, measured along the track, between the indicator and the rest of the track (on a ring, at both ends of the indicator's arc); WHILE it is divider THE meter SHALL draw the indicator on the track with nothing between them. |
MTR-5 | WHILE comp.meter.stop-indicator.size is above 0 THE meter SHALL draw at the end of a bar's track a round dot of that size, centred across the track, in the indicator color of its status; a ring SHALL draw none. |
MTR-6 | WHEN value, min, max or status changes after the first frame THE meter SHALL move the indicator's end to the new fraction over comp.meter.motion.value-duration with comp.meter.motion.value-easing, and change the indicator's color over the same duration; WHEN it changes again during that motion THE meter SHALL go on from the place and the color then shown. THE meter SHALL draw its first frame at its value and in its status's color without a motion, and WHERE reduced motion is requested SHALL move the end at once and keep the change of color as a fade over the same duration. |
MTR-7 | THE meter SHALL expose to assistive technology a meter — the platform's own meter where it has one, and otherwise an element with a value range and no busy state — named by label, with min and max as its range, the clamped value as its current value, and valueText as the value's text WHILE valueText is not empty; it SHALL NOT expose the progressbar role or a busy state, because nothing is under way. |
MTR-8 | THE meter SHALL NOT be focusable, SHALL take no input and SHALL NOT announce a change of its value or its status by itself; assistive technology SHALL read the current value when it reaches the meter. |
MTR-9 | THE meter SHALL expose nothing of status by itself: status SHALL change the indicator's color and nothing else, so that what the color means reaches every person only through the words the product gives in valueText, label or the text beside the meter. |
MTR-10 | IF value is below min or above max THE meter SHALL draw and expose it clamped to that range; IF value is not a finite number THE meter SHALL draw and expose min; IF max is not greater than min THE meter SHALL draw the track with no indicator and expose a current value of 0 in a range of 0 to 1; in each case debug builds SHALL report the values. |
MTR-11 | WHEN size names a value that the active design system does not have, or variant, separation or status a value the meter does not define, THE meter SHALL render with the default value's tokens (medium, linear, auto, default), and in debug builds report the unknown value. |
MTR-12 | WHERE the layout direction is right-to-left THE meter SHALL fill a bar from the right and draw its stop indicator at the left; a ring SHALL NOT be mirrored: it starts at the top and turns clockwise in every direction, as a clock does. |
MTR-13 | THE meter SHALL take its layout direction from where it is used and SHALL have no direction setting of its own; WHEN that direction changes while the meter is shown THE meter SHALL draw itself for the new direction at once, without a motion of its own, keeping its value. |
MTR-14 | WHILE label is empty THE meter SHALL still render, and in debug builds report that it has no accessible name. |
MTR-15 | WHERE the platform draws with a person's own forced colors THE meter SHALL draw its track as an edge sys.border.hairline wide in the platform's text color and its indicator filled in the platform's text color, whatever its status, so that the value is still read from where the indicator ends. |
MTR-16 | WHERE the platform has ARIA attributes (the web), the host carries its meter role (MTR-7) itself, so what the product writes on it is not moved, but for a name: WHILE label is not empty THE meter SHALL hold the product's aria-label and aria-labelledby on that host as their data-aria- twins, so that label is its whole name although the platform gives aria-labelledby the precedence, and WHEN label is emptied SHALL give them back as they were written; WHILE label is empty a name the product gives so — aria-label, or aria-labelledby naming an element — SHALL be its name and SHALL NOT be reported as having none in debug builds (MTR-14). WHEN the product removes one, or its data-aria- twin, or sets the ARIA property that reflects it (ariaLabel, ariaLabelledByElements) to null, THE meter SHALL take it away. |
प्लैटफ़ॉर्म के अनुसार नामों का मिलान
पैरिटी का मतलब एक जैसे API नहीं है। हर प्लैटफ़ॉर्म एक ही कॉन्ट्रैक्ट को अपने तरीक़े से व्यक्त करता है।
| स्पेक | Web | SwiftUI | Jetpack Compose | Flutter | React Native |
|---|---|---|---|---|---|
| कंपोनेंट | tanrei-meter | TanreiMeter | TanreiMeter | TanreiMeter | Meter |
variant · प्रॉपर्टी | variant | variant | variant | variant | variant |
size · प्रॉपर्टी | size | size | size | size | size |
separation · प्रॉपर्टी | separation | separation | separation | separation | separation |
value · प्रॉपर्टी | value | value | value | value | value |
min · प्रॉपर्टी | min | bounds.lowerBound | valueRange.start | min | min |
max · प्रॉपर्टी | max | bounds.upperBound | valueRange.endInclusive | max | max |
status · प्रॉपर्टी | status | status | status | status | status |
label · प्रॉपर्टी | label | label | label | label | label |
valueText · प्रॉपर्टी | valueText | valueText | valueText | valueText | valueText |
| टिप्पणियाँ | Drawn as the progress indicator is (the two share the drawing code; the meter never runs the indeterminate animation). The host carries role="meter", aria-valuemin, aria-valuemax, aria-valuenow, aria-label and aria-valuetext while value-text is set. separation and status are attributes; auto reads the name in --tanrei-comp-meter-track-separation. | TanreiMeter("Storage used", value: 9.3, in: 0...15). Exposed as SwiftUI exposes a Gauge: an element with the label and an accessibility value, accessibilityValue(valueText) while it is set; no updates-frequently trait. | Semantics progressBarRangeInfo with the range (Android has no separate meter role) and stateDescription from valueText; never the indeterminate range info. | Semantics(label:, value:) with the value text or the percentage; on the web renderer the role is meter. | accessibilityRole="progressbar" is not used; the view carries accessibilityValue={{ min, max, now, text }} with role="meter" where React Native passes it through (web), and the label. |
टोकन
| टोकन | किसका एलियास | रिज़ॉल्व किया गया मान (लाइट) |
|---|---|---|
--tanrei-comp-meter-circular-size-large | comp.progress-indicator.circular.size.large | 40px |
--tanrei-comp-meter-circular-size-medium | comp.progress-indicator.circular.size.medium | 24px |
--tanrei-comp-meter-circular-size-small | comp.progress-indicator.circular.size.small | 16px |
--tanrei-comp-meter-circular-thickness-large | comp.progress-indicator.circular.thickness.large | 2px |
--tanrei-comp-meter-circular-thickness-medium | comp.progress-indicator.circular.thickness.medium | 2px |
--tanrei-comp-meter-circular-thickness-small | comp.progress-indicator.circular.thickness.small | 2px |
--tanrei-comp-meter-error-indicator-color | sys.color.error | |
--tanrei-comp-meter-indicator-color | comp.progress-indicator.indicator.color | |
--tanrei-comp-meter-info-indicator-color | sys.color.info | |
--tanrei-comp-meter-linear-thickness-large | comp.progress-indicator.linear.thickness.large | 8px |
--tanrei-comp-meter-linear-thickness-medium | comp.progress-indicator.linear.thickness.medium | 4px |
--tanrei-comp-meter-linear-thickness-small | comp.progress-indicator.linear.thickness.small | 2px |
--tanrei-comp-meter-motion-value-duration | comp.progress-indicator.motion.value-duration | 300ms |
--tanrei-comp-meter-motion-value-easing | comp.progress-indicator.motion.value-easing | cubic-bezier(0.2, 0, 0, 1) |
--tanrei-comp-meter-stop-indicator-size | comp.progress-indicator.stop-indicator.size | 0px |
--tanrei-comp-meter-success-indicator-color | sys.color.success | |
--tanrei-comp-meter-track-color | comp.progress-indicator.track.color | |
--tanrei-comp-meter-track-gap | comp.progress-indicator.track.gap | 4px |
--tanrei-comp-meter-track-separation | comp.progress-indicator.track.separation | 0 |
--tanrei-comp-meter-track-shape | comp.progress-indicator.track.shape | 9999px |
--tanrei-comp-meter-warning-indicator-color | sys.color.warning |
फ़िक्स्चर
मानक रेंडरिंग। हर प्लैटफ़ॉर्म हर फ़िक्स्चर का स्नैपशॉट एक ही ID से लेता है, ताकि नतीजों की तुलना की जा सके।
size: small (2)
linear-small
size: small value: 0.62 label: Storage used circular-small
variant: circular size: small value: 0.62 label: Battery size: medium (14)
linear
value: 0.62 label: Storage used valueText: 9.3 GB of 15 GB linear-info
value: 0.4 status: info label: Monthly quota linear-success
value: 0.9 status: success label: Password strength valueText: Strong linear-warning
value: 0.85 status: warning label: Storage used valueText: Almost full: 12.8 GB of 15 GB linear-error
value: 0.98 status: error label: Storage used valueText: Full: 14.7 GB of 15 GB linear-empty
value: 0 label: Storage used linear-full
value: 1 label: Storage used linear-range
value: 37 min: 0 max: 50 label: Seats taken valueText: 37 of 50 seats linear-gap
separation: gap value: 0.62 label: Storage used linear-divider
separation: divider value: 0.62 label: Storage used linear-on-container-highest
value: 0.62 label: Storage used linear-rtl
value: 0.62 label: Storage used direction: rtl circular
variant: circular value: 0.62 label: Battery circular-warning
variant: circular value: 0.15 status: warning label: Battery valueText: Low: 15% size: large (2)
linear-large
size: large value: 0.62 label: Storage used circular-large
variant: circular size: large value: 0.62 label: Battery इससे जनरेट किया गया: specs/meter.spec.json, tokens/comp/meter.tokens.json, design/tokens/
मीटर तब इस्तेमाल करें जब आपको दिखाना हो कि कोई मात्रा ऐसी रेंज में कहाँ है जिसका असली न्यूनतम और अधिकतम हो: कोटे में से इस्तेमाल हुआ स्टोरेज, बैटरी का चार्ज, किसी कमरे में भरी हुई सीटें, नए पासवर्ड की मज़बूती। यह एक स्तर दिखाता है; कुछ चल नहीं रहा, और कुछ ख़त्म नहीं होगा।
जो काम चल रहा है — अपलोड, इंपोर्ट, लंबा सेव — उसके लिए इसकी जगह प्रोग्रेस इंडिकेटर इस्तेमाल करें। वह एक जैसा दिखता है, पर सहायक तकनीक लोगों को बताती है कि कुछ चल रहा है, और मीटर को यह नहीं कहना चाहिए। जिस मान का कोई सार्थक अधिकतम नहीं, जैसे संदेशों की गिनती, वह दोनों में से कोई नहीं है: उसे टेक्स्ट के रूप में दिखाएँ।
| वेरिएंट | किसके लिए |
|---|---|
| Linear | वह स्तर जो किसी पेज या सेक्शन का है: सेटिंग्स पेज पर स्टोरेज, कार्ड के भीतर कोटा, प्लान की लिस्ट में एक पंक्ति। बार उतनी चौड़ाई भरता है जितनी उसका लेआउट उसे देता है। |
| Circular | तंग जगहें और टेक्स्ट के बग़ल का स्तर: स्टेटस बार में बैटरी, डिवाइसों की लिस्ट में एक पंक्ति। रिंग का साइज़ तय होता है। |
| साइज़ | डिफ़ॉल्ट सिस्टम में बार की मोटाई / रिंग का साइज़ | किसके लिए |
|---|---|---|
| Small | 2 / 16 | घनी पंक्तियाँ, छोटे टेक्स्ट के बग़ल में। |
| Medium | 4 / 24 | ज़्यादातर जगहें। यही डिफ़ॉल्ट है। |
| Large | 8 / 40 | वह एक स्तर जिसके बारे में पूरा व्यू है, जैसे किसी अकाउंट का स्टोरेज पेज। |
साइज़, ट्रैक और डिफ़ॉल्ट रंग प्रोग्रेस इंडिकेटर के ही हैं, इसलिए मीटर और प्रोग्रेस इंडिकेटर अगल-बग़ल मेल खाते हैं। डिज़ाइन सिस्टम मीटर के अपने टोकन से मीटर को अलग कर सकता है।
मीटर यह तय नहीं करता कि किसी मान का क्या मतलब है। ज़्यादा अच्छा है या बुरा, यह आपका प्रोडक्ट जानता है: लगभग भरा स्टोरेज warning है, लगभग पूरी मज़बूती वाला पासवर्ड success है। स्थिति ख़ुद निकालें और पास करें। स्थितियों के नाम वही हैं जो टैग और स्नैकबार इस्तेमाल करते हैं।
| स्थिति | किसके लिए |
|---|---|
| Default | वह स्तर जिस पर कुछ कहने की ज़रूरत नहीं। ज़्यादातर मीटर यहीं रहते हैं। |
| Info | जानने लायक़ स्तर जो कुछ नहीं माँगता, जैसे जल्द ही रीसेट होने वाला कोटा। |
| Success | वह स्तर जो वहीं है जहाँ उसे होना चाहिए, जैसे मज़बूत पासवर्ड। |
| Warning | वह स्तर जिस पर जल्द ही ध्यान देना होगा, जैसे लगभग भरा स्टोरेज या कम बैटरी। |
| Error | वह स्तर जो पहले से कुछ रोक रहा है, जैसे भरा हुआ स्टोरेज। |
स्थिति इंडिकेटर का रंग बदलती है, और कुछ नहीं। उसका मतलब शब्दों में भी कहें: मान टेक्स्ट में, और मीटर के बग़ल के टेक्स्ट में।
- उसे ऐसा लेबल दें जो बताए कि क्या नापा जा रहा है: “इस्तेमाल हुआ स्टोरेज”, न कि “मीटर”। अगर उसके बग़ल में कोई कैप्शन दिखता है, तो वही शब्द इस्तेमाल करें।
- जब प्रतिशत में बताना स्वाभाविक न हो, तो मान टेक्स्ट इस्तेमाल करें: “15 GB में से 9.3 GB”, “50 में से 37 सीटें”, “मज़बूत”।
- जब स्थिति का कोई मतलब हो, तो उसे मान टेक्स्ट में भी डालें: “लगभग भरा हुआ: 15 GB में से 12.8 GB”।
- इसे चल रहे काम के लिए इस्तेमाल न करें। वह प्रोग्रेस इंडिकेटर है।
- सिर्फ़ स्थिति के रंग पर भरोसा न करें। जो रंग नहीं देख सकता, उसे भी पता चलना चाहिए कि स्टोरेज लगभग भर गया है।
- रेंज से बाहर का मान न दिखाएँ। मीटर उसे रेंज के भीतर सीमित करके बनाता और देता है, इसलिए व्यक्ति जो संख्या सुनेगा, वह आपकी संख्या नहीं होगी।
- रोल
meter- लेबलिंग
- label is the accessible name. valueText, when given, replaces the platform's percentage as the spoken value. A visible caption beside the meter is the product's composition; when it exists, use the same words as label. status is never announced: say in valueText what it means.
- न्यूनतम टार्गेट
- दिखने वाला आकार छोटा होने पर भी हिट एरिया न्यूनतम टार्गेट साइज़ को पूरा करता है। minimum 32px · pointer 44px · spacing 8px · touch 48px
कीबोर्ड
| कुंजियाँ | क्रिया |
|---|
टिप्पणियाँ
- Not interactive: the meter takes no input and is never focusable (MTR-8), so the minimum target holds without extending anything.
- A meter shows where a value stands in a known range; it is not progress (WAI-ARIA APG, Meter: not for loading or percent completion) and not for a value without a meaningful maximum. A task under way is a progress indicator.
- The value is read from the boundary between indicator and track, so every indicator color — default and the four statuses — must stay at least 3:1 against comp.meter.track.color and the surface behind it (WCAG 1.4.11). In the default system each is above 4.6:1 in light and 7.3:1 in dark.
- Color is never the only sign of a status (WCAG 1.4.1): MTR-9.
- Web: the host carries role="meter" and the aria-value attributes; the native <meter> element is not drawn, because its look cannot be styled in every engine.
इससे जनरेट किया गया: specs/meter.spec.json, tokens/sys/measure.tokens.json
- यह मीटर का रोल देता है, जिसका नाम लेबल है, साथ में रेंज, मौजूदा मान (रेंज के भीतर सीमित किया हुआ) और मान टेक्स्ट, अगर हो। यह कभी नहीं कहता कि यह व्यस्त है या कोई काम चल रहा है।
- इस पर कभी फ़ोकस नहीं जा सकता, और यह अपने बदलाव पढ़कर नहीं सुनाता। जब व्यक्ति इस तक पहुँचता है, तो सहायक तकनीक मौजूदा मान पढ़ती है।
- स्थिति अपने आप कभी नहीं सुनाई जाती: वह सिर्फ़ रंग बदलती है।
- मान बदलने पर इंडिकेटर का सिरा खिसकता है और स्थिति बदलने पर उसका रंग धीरे-धीरे बदलता है। जब मोशन कम करने का अनुरोध हो, तो सिरा तुरंत खिसकता है और सिर्फ़ रंग धीरे-धीरे बदलता है।
- फ़ोर्स्ड कलर्स में, स्थिति चाहे जो हो, ट्रैक एक पतला किनारा बन जाता है और इंडिकेटर भरा जाता है, दोनों टेक्स्ट के रंग में, ताकि मान अब भी वहीं से पढ़ा जा सके जहाँ इंडिकेटर ख़त्म होता है।
- ख़ाली लेबल, रेंज से बाहर का मान, ऐसा मान जो संख्या नहीं है, और अनजान
size,variant,separationयाstatusडीबग बिल्ड में रिपोर्ट किए जाते हैं।
- स्थिति का मतलब शब्दों में कहें: मान टेक्स्ट में, और मीटर के बग़ल के टेक्स्ट में।
- कोई ज़रूरी बदलाव, जैसे स्टोरेज का भर जाना, ख़ुद बताएँ: लाइव रीजन में एक संदेश, या ऐसी सूचना जो व्यक्ति देखेगा। मीटर यह नहीं कहेगा।
- अगर आप रंग बदलते हैं, तो इंडिकेटर के हर रंग — डिफ़ॉल्ट और चारों स्थितियाँ — को ट्रैक और उसके पीछे की सरफ़ेस के मुक़ाबले कम से कम 3:1 पर रखें। मान वहीं से पढ़ा जाता है जहाँ इंडिकेटर ट्रैक से मिलता है। डिफ़ॉल्ट सिस्टम पाँचों को लाइट में 4.6:1 से ऊपर और डार्क में 7.3:1 से ऊपर रखता है।