Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
blockly > IFlyout > setVisible
Metoda IFlyout.setVisible()
Określ, czy wysuwana ma być widoczna. Wartość „true” nie musi oznaczać, że reklama rozwijana jest widoczna. Może być ukryty, ponieważ jego kontener jest ukryty.
Podpis:
setVisible(visible: boolean): void;
Parametry
Parametr |
Typ |
Opis |
widoczna |
wartość logiczna |
Prawda, jeśli jest widoczna. |
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-10-15 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-10-15 UTC."],[[["The `IFlyout.setVisible()` method controls the visibility of the flyout, but does not guarantee it will be shown if its container is hidden."],["It accepts a single boolean parameter, `visible`, indicating whether the flyout should be visible."],["Calling this method does not return any value."]]],["The `setVisible()` method of the `IFlyout` interface controls the flyout's visibility. It accepts a boolean parameter, `visible`. When `visible` is set to `true`, the flyout is intended to be displayed, but actual visibility depends on the container's state. The method does not return any value. It essentially toggles the visibility state of the flyout based on the input boolean.\n"]]