रिसर्च सर्वे: Blockly के साथ अपने अनुभव के बारे में हमें बताएं
सर्वे शुरू करें
ब्लॉकली > डायलॉग > setAlert
डायलॉग.setAlert() फ़ंक्शन
Blockly.dialog.alert() को कॉल करने पर, फ़ंक्शन को सेट करता है.
हस्ताक्षर:
export declare function setAlert(alertFunction: (p1: string, p2?: () => void) => void): void;
पैरामीटर
पैरामीटर |
टाइप |
ब्यौरा |
alertFunction |
(p1: स्ट्रिंग, p2?: () => अमान्य) => अमान्य |
चलाया जाने वाला फ़ंक्शन. |
लौटाए जाने वाले प्रॉडक्ट:
अमान्य
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-08-22 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2024-08-22 (UTC) को अपडेट किया गया."],[[["Defines a custom function to be executed when Blockly's alert dialog is triggered."],["Accepts a function as input, which will handle displaying the alert message and any subsequent actions."],["The provided function receives the alert message and an optional callback function as parameters."],["Returns void, indicating that it doesn't produce a direct output."]]],[]]