रिसर्च सर्वे: Blockly के साथ अपने अनुभव के बारे में हमें बताएं
सर्वे शुरू करें
ब्लॉकली > आइकॉन > आइकॉन > isClickableInFlyout
icon.Icon.isClickableInFlyout() पद्धति
ब्लॉक के फ़्लाइआउट में होने के दौरान, यह देखें कि आइकॉन पर क्लिक किया जा सकता है या नहीं. डिफ़ॉल्ट रूप से, आइकॉन सभी फ़्लायआउट (अपने-आप बंद होना या नहीं) में क्लिक किए जा सकते हैं. इस व्यवहार को बदलने के लिए, सब-क्लास इस फ़ंक्शन को बदल सकती हैं.
हस्ताक्षर:
isClickableInFlyout(autoClosingFlyout: boolean): boolean;
पैरामीटर
पैरामीटर |
टाइप |
ब्यौरा |
autoClosingFlyout |
बूलियन |
अगर मौजूदा फ़्लायआउट, अपने-आप बंद होने वाला फ़्लाइआउट होता है, तो सही होता है. |
लौटाए जाने वाले प्रॉडक्ट:
बूलियन
ब्लॉक के फ़्लाइआउट में होने के दौरान, आइकॉन पर क्लिक किया जा सकता है या नहीं.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-09-11 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2024-09-11 (UTC) को अपडेट किया गया."],[[["The `isClickableInFlyout` method determines if an icon on a block can be clicked when the block is inside a flyout."],["By default, icons are clickable in all types of flyouts, but this behavior can be customized by subclasses."],["The method takes a boolean argument indicating whether the flyout automatically closes and returns a boolean indicating if the icon is clickable."]]],["The `isClickableInFlyout()` method determines if an icon is clickable when its associated block is in a flyout. It accepts a boolean `autoClosingFlyout` parameter, indicating if the flyout automatically closes. By default, icons are clickable in all flyouts. Subclasses can override this method to modify this behavior. The method returns a boolean indicating whether the icon should be clickable within the specified flyout type.\n"]]