You Haipeng

Results 58 issues of You Haipeng

graph内部的事件监听会导致angular产生变更检查。 通过在注册事件上添加`this._zone.runOutsideAngular`,还是会触发变更检查 ``` // 注册封装的echarts事件. private _registerEvent() { this._zone.runOutsideAngular(()=>{ this._eventArr.forEach(eventStr => { this._graph.off(eventStr); this._graph.on(eventStr, params => this._handleEvent(params, eventStr)); }) }) } ```

比如big table的滚动条计算 ![image](https://user-images.githubusercontent.com/15992591/67735278-9a96c800-fa3e-11e9-8808-34b3889e2449.png)

![GIF5](https://user-images.githubusercontent.com/15992591/60091924-49b55100-9778-11e9-8335-0ed17ac32164.gif)

![GIF4](https://user-images.githubusercontent.com/15992591/60081411-47e19280-9764-11e9-8459-b0cef95a7695.gif)

#### 在 JigsawTheme中暴露皮肤参数 ``` // 获取主要色值 public static getPrimaryColor() { return this.colorFactory(['#41addc', "#029af2"]); } // 获取panel背景色 public static getPanelBackgroundColor(): string { return this.colorFactory([null, "#102331"]); } // 获取边框颜色 public static getBorderColor():...

原来的显示效果: ![image](https://user-images.githubusercontent.com/15992591/55458558-d93ae000-561f-11e9-9682-af06f43650bb.png) 现在的显示效果: ![image](https://user-images.githubusercontent.com/15992591/55458578-e8219280-561f-11e9-8029-b9b3b4b8d29c.png)