From 9aaa212a88167ef43a46bc5bb749cef4602af312 Mon Sep 17 00:00:00 2001 From: kukixi Date: Fri, 11 Mar 2022 12:18:02 +0800 Subject: [PATCH] 'onTitleModeChanged' change to 'onTitleModeChange' Signed-off-by: kukixi --- .../entry/src/main/ets/MainAbility/pages/navigation.ets | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/navigation.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/navigation.ets index b5baf4ae7..a52380206 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/navigation.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/navigation.ets @@ -132,7 +132,7 @@ struct NavigationExample { .titleMode(NavigationTitleMode.Free) .hideTitleBar(false) .hideBackButton(false) - .onTitleModeChanged((titleModel: NavigationTitleMode) => { + .onTitleModeChange((titleModel: NavigationTitleMode) => { console.log('titleMode') }) .toolBar({ items: [ @@ -148,4 +148,4 @@ struct NavigationExample { .hideToolBar(this.hideBar) } } -} \ No newline at end of file +} -- GitLab