रिसर्च सर्वे: Blockly के साथ अपने अनुभव के बारे में हमें बताएं
सर्वे शुरू करें
ब्लॉकली > FieldImage > setAlt
फ़ील्डइमेज.setAlt() तरीका
इस इमेज के लिए वैकल्पिक लेख जोड़ें.
हस्ताक्षर:
setAlt(alt: string | null): void;
पैरामीटर
पैरामीटर |
टाइप |
ब्यौरा |
alt |
स्ट्रिंग | शून्य |
नया वैकल्पिक लेख. |
लौटाए जाने वाले प्रॉडक्ट:
अमान्य
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-08-22 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2024-08-22 (UTC) को अपडेट किया गया."],[[["The `FieldImage.setAlt()` method updates the alternative text associated with a FieldImage object."],["This method accepts a single parameter: `alt`, which can be a string containing the new alternative text or null to remove existing alt text."],["Calling `setAlt()` does not return any value (void)."],["This function helps improve accessibility by providing descriptive text for screen readers and other assistive technologies."]]],[]]