mirror of
https://gitee.com/openharmony/arkui_ace_engine
synced 2024-12-03 13:06:04 +00:00
Signed-off-by: jiangdayuan <jiangdayuan@huawei.com>
This commit is contained in:
parent
fd1482f29f
commit
13dad12ace
@ -235,6 +235,8 @@ void InitRouterModule(JSContext* ctx, JSValue& moduleObj)
|
||||
ctx, moduleObj, ROUTE_PAGE_GET_LENGTH, JS_NewCFunction(ctx, PageGetLength, ROUTE_PAGE_GET_LENGTH, 0));
|
||||
JS_SetPropertyStr(
|
||||
ctx, moduleObj, ROUTE_PAGE_GET_STATE, JS_NewCFunction(ctx, PageGetState, ROUTE_PAGE_GET_STATE, 0));
|
||||
JS_SetPropertyStr(
|
||||
ctx, moduleObj, ROUTE_PAGE_GET_PARAMS, JS_NewCFunction(ctx, PageGetParams, ROUTE_PAGE_GET_PARAMS, 0));
|
||||
JS_SetPropertyStr(
|
||||
ctx, moduleObj, ROUTE_POSTPONE, JS_NewCFunction(ctx, PostponePageTransition, ROUTE_POSTPONE, 0));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user