Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
blockly > Flyout > getContents
Methode „Flyout.getContents()“
Liste der Elemente des aktuellen Flyouts abrufen.
Unterschrift:
getContents(): FlyoutItem[];
Gibt zurück:
FlyoutItem[]
Das Array der Ausklappelemente.
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: 2025-05-16 (UTC).
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Benötigte Informationen nicht gefunden","missingTheInformationINeed","thumb-down"],["Zu umständlich/zu viele Schritte","tooComplicatedTooManySteps","thumb-down"],["Nicht mehr aktuell","outOfDate","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Problem mit Beispielen/Code","samplesCodeIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-05-16 (UTC)."],[[["The `Flyout.getContents()` method retrieves the buttons and blocks currently displayed within the flyout."],["It returns an array of `FlyoutItem` objects, representing both buttons and blocks present in the flyout."]]],["The `Flyout.getContents()` method retrieves the current flyout's contents. This method returns an array, specifically `FlyoutItem[]`, which contains the list of both buttons and blocks present within the flyout. No arguments are required. The output is the array of elements present on the flyout.\n"]]