WwwHhhYran
WwwHhhYran
> Still haven't got this working on my end yet. I might have to switch over to Jest and see if that makes a difference. Jest still has this problem,...
getViewPortCenterPoint() 方法的定义为 “获取视口中心绘制坐标“,感觉有点怪怪的,视口中心在画布中的位置不应该对应画布坐标吗?(如果我的理解有错,希望指出) 对于保存上次的定位信息,下次 restore 的问题:我采用上一次视口(0,0) 的画布位置,和 restore 时的视口(0,0) 位置计算 delta,并结合 zoom 比例,可以计算出 graph.translate() 的值,再结合 graph.zoom/zoomTo 即可。
> I agree! [#29856 (comment)](https://github.com/angular/components/issues/29856#issuecomment-2453220960) with `ViewChild` might be a solution, but we must wait for the `MatTree` component to be rendered before calling methods on it. That's true 👍,...
Execuse, any one can address this issue ? @crisbeto @andrewseguin @@BobobUnicorn I think the original `TreeControl` was able to ensure the isolation of the view from the model, which made...
> > But now, if I use `levelAccessor` property, I have to pass all the data to the tree, and then use `style.display` combined with the `shouldRender` method to hide...
This is the first time I've submitted a pull request to `Angular/Components`, could someone please review it? :) @andrewseguin @ok7sai @crisbeto > Our UI Component Library ([NG-ZORRO](https://github.com/NG-ZORRO/ng-zorro-antd)) depends on it,...
WIP: support setting `tooltip`, `placement` and `badge` for `float-button`, I will submit pull request for each of them :)
During the development of adding tooltip to float button, I suddenly realized that NG ZORRO implements tooltip through `Directive`, which is different from Ant Design. Therefore, we do not need...
There has been a lack of testing for `Tree-View` component for a long time, and this is a historical problem. I will add test cases to make up for it...
> There has been a lack of testing for `Tree-View` component for a long time, and this is a historical problem. I will add test cases to make up for...