रिसर्च सर्वे: Blockly के साथ अपने अनुभव के बारे में हमें बताएं
सर्वे शुरू करें
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
ब्लॉकली > इवेंट > VarBase
Event.VarBase क्लास
किसी वैरिएबल इवेंट के लिए ऐब्स्ट्रैक्ट क्लास.
हस्ताक्षर:
export declare class VarBase extends AbstractEvent
एक्सट्रैक्ट: AbstractEvent
कंस्ट्रक्टर
प्रॉपर्टी
प्रॉपर्टी |
मॉडिफ़ायर |
टाइप |
ब्यौरा |
isBlank |
|
बूलियन |
|
varId? |
|
स्ट्रिंग |
(ज़रूरी नहीं) इस इवेंट के लिए इस्तेमाल होने वाले वैरिएबल का आईडी. |
तरीके
तरीका |
मॉडिफ़ायर |
ब्यौरा |
toJson() |
|
इवेंट को JSON कोड में बदलें. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-10-11 (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"]],["आखिरी बार 2024-10-11 (UTC) को अपडेट किया गया."],[[["The `Events.VarBase` class in Blockly is an abstract class serving as the foundation for all variable-related events."],["It inherits from the `AbstractEvent` class and includes properties like `isBlank` and `varId` to manage variable event data."],["A key method of `Events.VarBase` is `toJson()`, used for encoding the event data into JSON format."]]],["The `VarBase` class, extending `AbstractEvent`, serves as a foundation for variable-related events. It can be instantiated with an optional variable. Key properties include `isBlank` (boolean) and `varId` (optional string, representing the variable's ID). The class also has a `toJson()` method to encode the event data in JSON format. This class is used as a basis for variable-related actions, holding essential information about a referenced variable.\n"]]