연구 설문조사: Blockly 사용 경험을 알려주세요
설문조사 시작
차단 > 스크롤바 > setVisible
스크롤바 표시 여부를 설정합니다. 페어링되지 않은 스크롤바에만 적용됩니다.
서명:
setVisible(visible: boolean): void;
매개변수
매개변수 |
유형 |
설명 |
표시 |
부울 |
표시되는 경우 true입니다. |
반환:
void
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2024-09-12(UTC)
[null,null,["최종 업데이트: 2024-09-12(UTC)"],[[["The `Scrollbar.setVisible()` method controls the visibility of a scrollbar in Blockly workspaces."],["This method is exclusively for non-paired scrollbars and takes a boolean value to determine whether the scrollbar should be displayed or hidden."],["Calling `setVisible()` with `true` makes the scrollbar visible, while calling it with `false` hides it."]]],["The `setVisible()` method controls the visibility of a scrollbar, specifically for non-paired scrollbars. It accepts a single boolean parameter, `visible`. When `visible` is set to `true`, the scrollbar becomes visible; otherwise, it is hidden. The method does not return any value. The method signature is `setVisible(visible: boolean): void;`.\n"]]