Home
last modified time | relevance | path

Searched refs:onWillShow (Results 1 – 19 of 19) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/tabs/
H A Dtab_content_event_hub.h30 void SetOnWillShow(const std::function<void()>& onWillShow) in SetOnWillShow() argument
32 onWillShowEvent_ = onWillShow; in SetOnWillShow()
H A Dtab_content_model_ng.h60 void SetOnWillShow(std::function<void()>&& onWillShow) override;
H A Dtab_content_model.h144 virtual void SetOnWillShow(std::function<void()>&& onWillShow) {} in SetOnWillShow() argument
H A Dtab_content_model_ng.cpp631 void TabContentModelNG::SetOnWillShow(std::function<void()>&& onWillShow) in SetOnWillShow() argument
637 tabContentEventHub->SetOnWillShow(onWillShow); in SetOnWillShow()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-container-tabcontent.md596 ### onWillShow<sup>12+</sup>
833 .onWillShow(() => {
843 .onWillShow(() => {
853 .onWillShow(() => {
863 .onWillShow(() => {
885 .onWillShow(() => {
895 .onWillShow(() => {
905 .onWillShow(() => {
915 .onWillShow(() => {
937 .onWillShow(() => {
[all …]
H A Dts-basic-components-navdestination.md13 …面的生命周期发生变化,跳转之前的栈顶Destination的生命周期(onWillShow, onShown, onHidden, onWillDisappear)与跳转之后的栈顶Destinat…
371 ### onWillShow<sup>12+</sup>
373 onWillShow(callback: Callback\<void>)
H A Dts-basic-components-navigation.md3095 该示例演示NavDestination的onAppear,onDisAppear,onShown,onHidden,onWillAppear,onWillDisappear,onWillShow,o…
3151 .onWillShow(() => {
3152 this.eventStr += "<onWillShow>";
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-container-tabcontent.md318 ### onWillShow<sup>12+</sup>
529 .onWillShow(() => {
539 .onWillShow(() => {
549 .onWillShow(() => {
559 .onWillShow(() => {
581 .onWillShow(() => {
591 .onWillShow(() => {
601 .onWillShow(() => {
611 .onWillShow(() => {
633 .onWillShow(() => {
[all …]
H A Dts-basic-components-navdestination.md13 …ion (**onWillShow**, **onShown**, **onHidden**, **onWillDisappear**) and the lifecycle of the dest…
372 ### onWillShow<sup>12+</sup>
374 onWillShow(callback: Callback\<void>)
H A Dts-basic-components-navigation.md3097 …*, **onShown**, **onHidden**, **onWillAppear**, **onWillDisappear**, **onWillShow**, and **onWillH…
3153 .onWillShow(() => {
3154 this.eventStr += "<onWillShow>";
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/
H A Dtab_content_model_impl.h44 void SetOnWillShow(std::function<void()>&& onWillShow) override {} in SetOnWillShow() argument
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_navdestination.cpp449 auto onWillShow = [execCtx = info.GetExecutionContext(), func = std::move(willShowCallback)]() { in SetWillShow() local
454 NavDestinationModel::GetInstance()->SetOnWillShow(std::move(onWillShow)); in SetWillShow()
H A Djs_tab_content.cpp676 …auto onWillShow = [executionContext = info.GetExecutionContext(), func = std::move(willShowHandler… in SetOnWillShow() local
681 TabContentModel::GetInstance()->SetOnWillShow(std::move(onWillShow)); in SetOnWillShow()
/ohos5.0/docs/zh-cn/release-notes/
H A DOpenHarmony-v5.0-beta1.md65 - 新增页面生命周期:支持onWillShow和onWillHide页面生命周期。
/ohos5.0/docs/zh-cn/application-dev/ui/
H A Darkts-router-to-navigation.md413 .onWillShow(() => {
H A Darkts-navigation-navigation.md538 - **onWillShow**:NavDestination组件布局显示之前执行,此时页面不可见(应用切换到前台不会触发)。
/ohos5.0/docs/en/application-dev/ui/
H A Darkts-router-to-navigation.md413 .onWillShow(() => {
H A Darkts-navigation-navigation.md500 - **onWillShow**: invoked before the **NavDestination** component layout is displayed. In this case…
/ohos5.0/docs/en/release-notes/
H A DOpenHarmony-v5.0-beta1.md65 - The **onWillShow** and **onWillHide** lifecycles are supported.