@rxflow/base
Version:
BaseFlow - 核心 Flow 组件库
23 lines (21 loc) • 492 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.hasDimensionsChange = void 0;
/**
* @author: yanxianliang
* @date: 2025-07-08 10:22
* @desc: 有dimensions change事件
*
* Copyright (c) 2025 by yanxianliang, All Rights Reserved.
*/
const hasDimensionsChange = changes => {
for (const change of changes) {
if (change.type === 'dimensions') {
return true;
}
}
return false;
};
exports.hasDimensionsChange = hasDimensionsChange;