1.0.3 • Published 4 years ago

cass-util v1.0.3

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

cass-rn-kit

core:

util:

1. registerNavConfig 注册模块导航信息

参数说明类型默认值
config注册路由模块所需的参数object{}

2. setTitle 设置导航栏的标题

参数说明类型默认值
title标题string-
index页面角标number-

3. pop 返回前index个页面

参数说明类型默认值
index返回堆栈的个数number1
animate是否有动画booleantrue

4. popToRoot 返回堆栈底部

5. getStackLength 获取当前堆栈的总个数

event:

1. emitNativeEvent RN给原生发送事件

参数说明类型默认值
eventName事件名string-
params参数object可选
1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago