Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
blockly > blockRendering > IPathObject > updateMovable
Metoda blockRendering.IPathObject.updateMovable()
Dodaj lub usuń styl pokazujący, że bryłę można przesunąć.
Podpis:
updateMovable(enabled: boolean): void;
Parametry
Parametr |
Typ |
Opis |
włączone |
wartość logiczna |
|
Zwroty:
nieważne
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-08-21 UTC.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 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"]]