संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
ब्लॉकले > ToolboxCategory > updateFlyoutContents
ToolboxCategory.updateFlyoutContents() तरीका
फ़्लायआउट में दिखाए जाने वाले कॉन्टेंट को अपडेट करता है. अगर कॉन्टेंट अपडेट होने के दौरान फ़्लाइआउट खुला रहता है, तो टूलबॉक्स पर {9/}Selection भी कॉल किया जाना चाहिए.
हस्ताक्षर:
updateFlyoutContents(contents: FlyoutDefinition | string): void;
पैरामीटर
पैरामीटर |
टाइप |
ब्यौरा |
सामग्री |
FlyoutDefinition | स्ट्रिंग |
फ़्लायआउट में दिखाया जाने वाला कॉन्टेंट. डाइनैमिक कैटगरी बनाने के लिए, स्ट्रिंग दी जा सकती है. |
लौटाए जाने वाले प्रॉडक्ट:
अमान्य
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-25 (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-07-25 (UTC) को अपडेट किया गया."],[],["The `updateFlyoutContents()` method within the `ToolboxCategory` class modifies the content displayed in the flyout. It accepts either a `FlyoutDefinition` or a string as input to define the new flyout contents. A string input allows for creating dynamic categories. If the flyout is open during the update, `refreshSelection` must be called on the toolbox to reflect the changes. The method returns nothing.\n"]]