透過集合功能整理內容
你可以依據偏好儲存及分類內容。
封鎖 >捲軸
純 SVG 捲軸的類別。這項技術保證可以正常運作的捲軸,但外觀或行為可能會與系統的捲軸不同。
Signature:
export declare class Scrollbar
建構函式
屬性
方法
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間:2025-07-25 (世界標準時間)。"],[],["The `Scrollbar` class provides a pure SVG scrollbar for workspaces. Key actions include: constructing a scrollbar, setting its visibility, and managing its position. Methods allow recalculating the scrollbar's location and length based on content or window changes (resize). Event handlers manage mouse interactions. Additional functionality includes setting the handle position, updating display visibility, and managing the scrollbar's origin. The class also enables the disposal of the scrollbar and related elements.\n"],null,[]]