ui.Slider.getDisabled
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Trả về xem thanh trượt có bị vô hiệu hoá hay không.
Cách sử dụng | Giá trị trả về |
---|
Slider.getDisabled() | Boolean |
Đối số | Loại | Thông tin chi tiết |
---|
this: ui.slider | ui.Slider | Đối tượng ui.Slider. |
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-26 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-26 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eSlider.getDisabled()\u003c/code\u003e method can be used to check if a slider is disabled.\u003c/p\u003e\n"],["\u003cp\u003eCalling this method on a \u003ccode\u003eui.Slider\u003c/code\u003e instance returns a boolean value indicating the disabled state.\u003c/p\u003e\n"]]],["The function `Slider.getDisabled()` checks the disabled status of a slider. It takes a `ui.Slider` instance as input and returns a Boolean value. A `true` value indicates the slider is disabled, while `false` means it's enabled. The function doesn't modify the slider's state, it simply retrieves the current disabled/enabled status.\n"],null,["# ui.Slider.getDisabled\n\n\u003cbr /\u003e\n\nReturns whether the slider is disabled.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|------------------------|---------|\n| Slider.getDisabled`()` | Boolean |\n\n| Argument | Type | Details |\n|-------------------|-----------|-------------------------|\n| this: `ui.slider` | ui.Slider | The ui.Slider instance. |"]]