blockly > FieldImageConfig
FieldImageConfig-Schnittstelle
Konfigurationsoptionen für das Bildfeld.
Unterschrift:
export interface FieldImageConfig extends FieldConfig
Erweitert: FieldConfig
Attribute
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2024-10-15 (UTC).
[null,null,["Zuletzt aktualisiert: 2024-10-15 (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."],["Calling `setAlt()` changes the image's alt text, enhancing accessibility for users who rely on screen readers or have images disabled."]]],[]]