Skip to content
This repository was archived by the owner on Nov 5, 2024. It is now read-only.

Releases: annotation-engine/multiplatform-route

Release list

0.1.1

Choose a tag to compare

@annotation-engine annotation-engine released this 07 Jun 10:05

删除功能:onOpen和open的data参数

新增功能:WindowSize有两个方法可以指定窗口的大小,fixed: 改方法可以创建一个不可变长宽的窗口,resizable: 改方法可以创建一个可变长宽的窗口并且可以设置最小值

0.1.0

Choose a tag to compare

@annotation-engine annotation-engine released this 05 Jun 11:51

支持平台:IOS、Android、Desktop

路由功能:支持route、back传递数据,并且在onCreate和 onBack 中接收数据

桌面端功能:包含以上功能外还支持 open 打开窗口,close 关闭窗口

路由配置:移动端和桌面端使用 pages(name = "xxx") { },移动端不需要指定 name,然后在DSL中配置 startup 首次启动页,
使用register来注册页面。桌面端有窗口管理,所以提供了 open 和 close 方法打开和关闭指定窗口,配置方法和pages类似,有 windows { },也是startup首次启动的窗口以及register窗口配置信息。详细功能见README.md 和 sample 模块中的例子。