nnnjjj123
2020-11-17 1b2c1edb61190eeb19f465ff031eaa3b2a1b8dbc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
define([
    'dojo/_base/declare',
    'dojo/_base/array',
    'dojo/dom-geometry'
], function (declare, arrayUtil, domGeometry) {
    return declare(null, {
        resize: function (changeSize) {
            if (changeSize) {
                domGeometry.setMarginBox(this.domNode, changeSize);
            }
            arrayUtil.forEach(this.getChildren(), function (child) {
                if (child.resize) {
                    child.resize();
                }
            });
            this.inherited(arguments);
        }
    });
});