We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
你好,在线demo中可以重现。 发现 root.component.ts 中 ngOnInit 里用了 scrollToToday 但是没生效,尝试添加 timeout 后可以实现定位到今天,但是会·闪一下,请问有更好的方式解决吗?
The text was updated successfully, but these errors were encountered:
切换视图并不会重新渲染组件,所以不会重新执行 ngOnInit 中的 scrollToToday(), 如果有需要可以手动调用 scrollToday() 来实现
@ViewChild('gantt') ganttComponent: NgxGanttComponent; this.ganttComponent.scrollToToday();
Sorry, something went wrong.
No branches or pull requests
你好,在线demo中可以重现。
发现 root.component.ts 中 ngOnInit 里用了 scrollToToday 但是没生效,尝试添加 timeout 后可以实现定位到今天,但是会·闪一下,请问有更好的方式解决吗?
The text was updated successfully, but these errors were encountered: