文檔金喜正規(guī)買球>>DevExtreme 中文文檔>>updateDimensions()
updateDimensions()
updateDimensions ()
更新UI組件內(nèi)容的維度。
- Return Value: Promise (or)
- 更新完成后解析的承諾,當(dāng)使用jQuery時,它是一個native Promise或jQueryPromise。
在UI組件的大小(size)被更改后,使用這個方法使UI組件的內(nèi)容與UI組件的大小相匹配。