... you had to attach a listener to the document's resize event to get notified of any change of the viewport's dimensions.
確定! 回上一頁