Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
blockly > blockRendering > IPathObject > updateMovable
blockRendering.IPathObject.updateMovable()-Methode
Fügen Sie Stile hinzu oder entfernen Sie sie, um zu zeigen, dass ein Block beweglich ist.
Unterschrift:
updateMovable(enabled: boolean): void;
Parameter
Parameter |
Typ |
Beschreibung |
aktiviert |
boolean |
|
Gibt zurück:
voidm
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-08-21 (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: 2024-08-21 (UTC)."],[[["The `blockRendering.IPathObject.updateMovable()` method is used to visually indicate whether a block is movable or not."],["It takes a single boolean parameter, `enabled`, which determines if the movable styling should be applied or removed."],["When called, this method updates the visual representation of the path object, without returning any value."]]],["The `updateMovable` method, part of the `IPathObject` interface, manages the visual styling of a block to indicate its movability. It accepts a boolean parameter, `enabled`, which determines whether the movable styling should be added or removed. The method's function is to adjust the block's appearance based on its movability state, and returns nothing.\n"]]