रिसर्च सर्वे: Blockly के साथ अपने अनुभव के बारे में हमें बताएं
सर्वे शुरू करें
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
blockly > MenuOption
ड्रॉपडाउन मेन्यू में मौजूद कोई विकल्प. यह मेन्यू सेपरेटर आइटम के लिए स्ट्रिंग लिटरल separator
या सामान्य ऐक्शन मेन्यू आइटम के लिए ऐरे हो सकता है. बाद वाले मामले में, पहला एलिमेंट वह वैल्यू होती है जिसे कोई भी व्यक्ति पढ़ सकता है (टेक्स्ट, ImageProperties ऑब्जेक्ट या एचटीएमएल एलिमेंट). वहीं, दूसरा एलिमेंट वह वैल्यू होती है जो किसी भी भाषा में हो सकती है.
हस्ताक्षर:
export type MenuOption = [string | ImageProperties | HTMLElement, string] | 'separator';
रेफ़रंस: ImageProperties
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-05-16 (UTC) को अपडेट किया गया.
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2025-05-16 (UTC) को अपडेट किया गया."],[[["`MenuOption` represents a single selection within a dropdown menu, pairing a user-facing display (text or image) with a machine-readable value."],["It's defined as a tuple where the first element can be a string or image properties for display, and the second is a string for internal use."]]],["The `MenuOption` type defines a single option within a dropdown menu. It's structured as a tuple, with two elements. The first element is the human-readable representation of the option, which can be either a string or an image. The second element is a language-neutral string value associated with that option. This type is used within the Blockly system.\n"]]