v1.7.1 - Add Props & Exposes

This commit is contained in:
LINING-PC\lining
2026-01-11 17:22:32 +08:00
parent 898406802d
commit 189913d6b8
13 changed files with 3272 additions and 50 deletions

View File

@@ -5,6 +5,22 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [1.7.1] - 2026-01-11
### Added
- 🎉 新增GanttChart新增属性locale, theme, timeScale, fullscreen, expandAll供外部调用
- 🎉 新增GanttChart暴露国际化相关方法setLocale & currentLocale
- 🎉 新增GanttChart暴露主题相关方法setTheme & currentThemesetTimeScale & currentScale
- 🎉 新增GanttChart暴露全屏相关方法toggleFullscreen & enterFullscreen & exitFullscreen & isFullscreen
- 🎉 新增GanttChart暴露展开/收起相关方法toggleExpandAll & expandAll & collapseAll & isExpandAll
- 🎉 新增GanttChart暴露滑至今日/任务/指定日期相关方法scrollToToday & scrollToTask & scrollToDate
- 🎉 Added: New properties in GanttChart - locale, theme, timeScale, fullscreen, expandAll for external calls
- 🎉 Added: Exposed internationalization related methods in GanttChart - setLocale & currentLocale
- 🎉 Added: Exposed theme related methods in GanttChart - setTheme & currentTheme, setTimeScale & currentScale
- 🎉 Added: Exposed fullscreen related methods in GanttChart - toggleFullscreen & enterFullscreen & exitFullscreen & isFullscreen
- 🎉 Added: Exposed expand/collapse related methods in GanttChart - toggleExpandAll & expandAll & collapseAll & isExpandAll
- 🎉 Added: Exposed methods in GanttChart to scroll to today/task/specified date - scrollToToday & scrollToTask & scrollToDate
## [1.7.0] - 2026-01-10
### Added