在Web API中,有一個DOMRectReadOnly接口,該接口的屬性寬度為我們提供DOMRect對象的寬度。 用法: var recX = DOMRect.width;. 返回類型:. Double value.
確定! 回上一頁