blockly > شريط التمرير > setVisible
تحديد ما إذا كان شريط التمرير مرئيًا لا ينطبق إلا على أشرطة التمرير غير المقترنة.
Signature:
setVisible(visible: boolean): void;
المعلمات
المعلمة |
النوع |
الوصف |
مرئي |
منطقي |
True إذا كان مرئيًا. |
المرتجعات:
فراغ
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2024-09-12 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2024-09-12 (حسب التوقيت العالمي المتفَّق عليه)"],[[["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."]]],[]]