5 Star 0 Fork 5

OpenHarmony-SIG / ohos_multi_navigation

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
Apache-2.0

ohos_multi_navigation

介绍

提供高级分栏组件,给三方应用快速接入大尺寸设备的方案

下载安装

ohpm install @ohos/multinavigation

OpenHarmony ohpm 环境配置等更多内容,请参考如何安装 OpenHarmony ohpm 包

使用说明

1.提供了应用分栏组件MultiNavigation及MultiNavPathStack路由栈作为分栏时存储页面使用。

2.以MultiNavigation组件及配合MultiNavPathStack路由栈来实现应用分栏操作举例:

注:

PageHome:主页

PageDetail:详情页

PageFull:不参与分栏的页面,默认全屏展示

import { MultiNavigation, MultiNavPathStack, SplitPolicy } from '@ohos/multinavigation';
import { PageDetail1 } from './PageDetail1';
import { PageFull1 } from './PageFull1';
import { PageHome1 } from './PageHome1';

@Entry
@Component
struct Index {
  @Provide('pageStack')pageStack: MultiNavPathStack = new MultiNavPathStack();

  @Builder
  PageMap(name: string, param?: object) {
    if (name === 'PageHome1') {
      PageHome1()
    } else if (name === 'PageDetail1') {
      PageDetail1();
    } else if (name == 'PageFull1') {
      PageFull1();
    }
  }

  aboutToAppear(): void {
    this.pageStack.pushPath({ name : 'PageHome1', param: "paramTest"}, false, SplitPolicy.HOME_PAGE);
  }

  build() {
    Column() {
      Row() {
        MultiNavigation({navDestination: this.PageMap, multiStack: this.pageStack})
      }
      .width('100%')
    }
  }
}

PageHome1

import { hilog } from '@kit.PerformanceAnalysisKit';

@Component
export struct PageHome1 {
  @State message: string = 'PageHome1';
  @Consume('pageStack') pageStack: MultiNavPathStack;

  build() {
    if (this.log()) {
      NavDestination() {
        Column() {
          Button('OpenDetail', { stateEffect: true, type: ButtonType.Capsule})
            .width('50%')
            .height(40)
            .margin(20)
            .onClick(() => {
              if (this.pageStack !== undefined && this.pageStack !== null) {
                this.pageStack.pushPath({ name: 'PageDetail1' });
              }
            })
          Button('pop', { stateEffect: true, type: ButtonType.Capsule})
            .width('50%')
            .height(40)
            .margin(20)
            .onClick(() => {
              if (this.pageStack !== undefined && this.pageStack !== null) {
                this.pageStack.pop();
              }
            })
        }
      }
      .hideTitleBar(true)
    }
  }

  log(): boolean {
    hilog.info(0x0000, 'demotest', 'PageHome1 build called');
    return true;
  }
}

PageDetail1:

import { MultiNavPathStack, SplitPolicy } from '@ohos/multinavigation';
import { hilog } from '@kit.PerformanceAnalysisKit';

@Component
export struct PageDetail1 {
  @State message: string = 'PageDetail1';
  @Consume('pageStack') pageStack: MultiNavPathStack;

  build() {
    if (this.log()) {
      NavDestination() {
        Column() {
          Scroll(){
            Column(){
              Button('pop', { stateEffect: true, type: ButtonType.Capsule})
                .width('50%')
                .height(40)
                .margin(20)
                .onClick(() => {
                  if (this.pageStack !== undefined && this.pageStack !== null) {
                    this.pageStack.pop();
                  }
                })
              Button('OpenFull', { stateEffect: true, type: ButtonType.Capsule})
                .width('50%')
                .height(40)
                .margin(20)
                .onClick(() => {
                  if (this.pageStack !== undefined && this.pageStack !== null) {
                    this.pageStack.pushPath({ name: 'PageFull1' }, true, SplitPolicy.FULL_PAGE);
                  }
                })
            }
          }
          .height('100%')
        }
      }
      .hideTitleBar(true)
    }
  }

  log(): boolean {
    hilog.info(0x0000, 'demotest', 'PageDetail1 build called');
    return true;
  }
}

PageFull1:

import { MultiNavPathStack, SplitPolicy } from '@ohos/multinavigation';
import { hilog } from '@kit.PerformanceAnalysisKit';

@Component
export struct PageFull1 {
  @State message: string = 'PageFull1';
  @Consume('pageStack') pageStack: MultiNavPathStack;

  build() {
    if (this.log()) {
      NavDestination() {
        Column() {
          Button('OpenHome', { stateEffect: true, type: ButtonType.Capsule})
            .width('50%')
            .height(40)
            .margin(20)
            .onClick(() => {
              if (this.pageStack !== undefined && this.pageStack !== null) {
                this.pageStack.pushPath({ name: 'PageHome1', param: 'open from full' }, true, SplitPolicy.HOME_PAGE);
              }
            })
          Button('pop', { stateEffect: true, type: ButtonType.Capsule})
                .width('50%')
                .height(40)
                .margin(20)
                .onClick(() => {
               if (this.pageStack !== undefined && this.pageStack !== null) {
                this.pageStack.pop();
              }
            })
        }
      }
      .hideTitleBar(true)
    }
  }

  log(): boolean {
    hilog.info(0x0000, 'demotest', 'PageFull1 build called');
    return true;
  }
}

组件说明

MultiNavigation

子组件

不可以包含子组件

推荐使用MultiNavPathStack配合NavDestination组件进行页面路由。

接口

MultiNavigation(navDestination: navDestination, multiStack: MultiNavPathStack)

绑定路由栈到MultiNavigation组件。

参数:

参数名 参数类型 必填 参数描述
pathInfos MultiNavPathStack 路由栈信息。

属性

不支持任何属性

事件

onNavigationModeChange

onNavigationModeChange(callback: (mode: NavigationMode) => void)

当Navigation首次显示或者单双栏状态发生变化时触发该回调。

参数:

名称 类型 必填 描述
mode NavigationMode NavigationMode.Split: 当前Navigation显示为双栏; NavigationMode.Stack: 当前Navigation显示为单栏。

MultiNavPathStack

MultiNavigation路由栈。

pushPath

pushPath(info: NavPathInfo, animated?: boolean, policy?: SplitPolicy): void

将info指定的NavDestination页面信息入栈。

参数:

名称 类型 必填 描述
info NavPathInfo NavDestination页面的信息。
animated boolean 是否支持转场动画,默认值:true。
policy SplitPolicy 当前入栈页面的策略,默认值:DETAIL_PAGE

pushPathByName

pushPathByName(name: string, param: Object, animated?: boolean, policy?: SplitPolicy): void

将name指定的NavDestination页面信息入栈,传递的数据为param。

参数:

名称 类型 必填 描述
name string NavDestination页面名称。
param Object NavDestination页面详细参数。
animated boolean 是否支持转场动画,默认值:true。
policy SplitPolicy 当前入栈页面的策略,默认值:DETAIL_PAGE

pushPathByName

pushPathByName(name: string, param: Object, onPop: import('../api/@ohos.base').Callback<PopInfo>, animated?: boolean, policy?: SplitPolicy): void

将name指定的NavDestination页面信息入栈,传递的数据为param,添加onPop回调接收入栈页面出栈时的返回结果,并进行处理。

参数:

名称 类型 必填 描述
name string NavDestination页面名称。
param Object NavDestination页面详细参数。
onPop import('../api/@ohos.base').Callback<PopInfo> Callback回调,用于页面出栈时触发该回调处理返回结果。
animated boolean 是否支持转场动画,默认值:true。
policy SplitPolicy 当前入栈页面的策略,默认值:DETAIL_PAGE

pushDestination

pushDestination(info: NavPathInfo, animated?: boolean, policy?: SplitPolicy): Promise<void>

将info指定的NavDestination页面信息入栈,使用Promise异步回调返回接口调用结果。

参数:

名称 类型 必填 描述
info NavPathInfo NavDestination页面的信息。
animated boolean 是否支持转场动画,默认值:true。
policy SplitPolicy 当前入栈页面的策略,默认值:DETAIL_PAGE

返回值:

类型 说明
Promise<void> 异常返回结果。

错误码:

以下错误码的详细介绍请参见ohos.router(页面路由)错误码。

错误码ID 错误信息
401 参数错误。
100001 系统内部错误。
100005 创建NavDestination组件的builder函数未注册。
100006 目标页面中不存在NavDestination组件。

pushDestinationByName

pushDestinationByName(name: string, param: Object, animated?: boolean, policy?: SplitPolicy): Promise<void>

将name指定的NavDestination页面信息入栈,传递的数据为param,使用Promise异步回调返回接口调用结果。

参数:

名称 类型 必填 描述
name string NavDestination页面名称。
param Object NavDestination页面详细参数。
animated boolean 是否支持转场动画,默认值:true。
policy SplitPolicy 当前入栈页面的策略,默认值:DETAIL_PAGE

返回值:

类型 说明
Promise<void> 异常返回结果。

错误码:

以下错误码的详细介绍请参见ohos.router(页面路由)错误码。

错误码ID 错误信息
401 参数错误。
100001 系统内部错误。
100005 创建NavDestination组件的builder函数未注册。
100006 目标页面中不存在NavDestination组件。

pushDestinationByName

pushDestinationByName(name: string, param: Object, onPop: import('../api/@ohos.base').Callback<PopInfo>, animated?: boolean, policy?: SplitPolicy): Promise<void>

将name指定的NavDestination页面信息入栈,传递的数据为param,并且添加用于页面出栈时处理返回结果的OnPop回调,使用Promise异步回调返回接口调用结果。

参数:

名称 类型 必填 描述
name string NavDestination页面名称。
param Object NavDestination页面详细参数。
onPop import('../api/@ohos.base').Callback<PopInfo> Callback回调,用于页面出栈时处理返回结果。
animated boolean 是否支持转场动画,默认值:true。
policy SplitPolicy 当前入栈页面的策略,默认值:DETAIL_PAGE

返回值:

类型 说明
Promise<void> 异常返回结果。

错误码:

以下错误码的详细介绍请参见ohos.router(页面路由)错误码。

错误码ID 错误信息
401 参数错误。
100001 系统内部错误。
100005 创建NavDestination组件的builder函数未注册。
100006 目标页面中不存在NavDestination组件。

replacePath

replacePath(info: NavPathInfo, animated?: boolean): void

将当前页面栈栈顶退出,将info指定的NavDestination页面信息入栈,新页面的分栏策略继承原栈顶页面的策略。

参数:

名称 类型 必填 描述
info NavPathInfo 新栈顶页面参数信息
animated boolean 是否支持转场动画,默认值:true。

replacePathByName

replacePathByName(name: string, param: Object, animated?: boolean): void

将当前页面栈栈顶退出,将name指定的页面入栈,新页面的分栏策略继承原栈顶页面的策略。

参数:

名称 类型 必填 描述
name string NavDestination页面名称。
param Object NavDestination页面详细参数。
animated boolean 是否支持转场动画,默认值:true。

removeByIndexes

removeByIndexes(indexes: Array<number>): number

将页面栈内索引值在indexes中的NavDestination页面删除。

参数:

名称 类型 必填 描述
indexes Array<number> 待删除NavDestination页面的索引值数组。

返回值:

类型 说明
number 返回删除的NavDestination页面数量。

removeByName

removeByName(name: string): number

将页面栈内指定name的NavDestination页面删除。

参数:

名称 类型 必填 描述
name string 删除的NavDestination页面的名字。

返回值:

类型 说明
number 返回删除的NavDestination页面数量。

pop

pop(animated?: boolean): NavPathInfo | undefined

弹出路由栈栈顶元素。

参数:

名称 类型 必填 描述
animated boolean 是否支持转场动画,默认值:true。

返回值:

类型 说明
NavPathInfo 返回栈顶NavDestination页面的信息。
undefined 当路由栈为空时返回undefined。

pop

pop(result: Object, animated?: boolean): NavPathInfo | undefined

弹出路由栈栈顶元素,并触发onPop回调传入页面处理结果。

参数:

名称 类型 必填 描述
result Object 页面自定义处理结果。
animated boolean 是否支持转场动画,默认值:true。

返回值:

类型 说明
NavPathInfo 返回栈顶NavDestination页面的信息。
undefined 当路由栈为空时返回undefined。

popToName

popToName(name: string, animated?: boolean): number

回退路由栈到由栈底开始第一个名为name的NavDestination页面。

参数:

名称 类型 必填 描述
name string NavDestination页面名称。
animated boolean 是否支持转场动画,默认值:true。

返回值:

类型 说明
number 如果栈中存在名为name的NavDestination页面,则返回由栈底开始第一个名为name的NavDestination页面的索引,否则返回-1。

popToName

popToName(name: string, result: Object, animated?: boolean): number

回退路由栈到由栈底开始第一个名为name的NavDestination页面,并触发onPop回调传入页面处理结果。

参数:

名称 类型 必填 描述
name string NavDestination页面名称。
result Object 页面自定义处理结果。
animated boolean 是否支持转场动画,默认值:true。

返回值:

类型 说明
number 如果栈中存在名为name的NavDestination页面,则返回由栈底开始第一个名为name的NavDestination页面的索引,否则返回-1。

popToIndex

popToIndex(index: number, animated?: boolean): void

回退路由栈到index指定的NavDestination页面。

参数:

名称 类型 必填 描述
index number NavDestination页面的位置索引。
animated boolean 是否支持转场动画,默认值:true。

popToIndex

popToIndex(index: number, result: Object, animated?: boolean): void

回退路由栈到index指定的NavDestination页面,并触发onPop回调传入页面处理结果。

参数:

名称 类型 必填 描述
index number NavDestination页面的位置索引。
result Object 页面自定义处理结果。
animated boolean 是否支持转场动画,默认值:true。

moveToTop

moveToTop(name: string, animated?: boolean): number

说明:

MultiNavigation不支持跨栈迁移,故MultiNavigationStack不支持此接口,会抛出异常,请勿调用

将由栈底开始第一个名为name的NavDestination页面移到栈顶。

moveIndexToTop

moveIndexToTop(index: number, animated?: boolean): void

说明:

MultiNavigation不支持跨栈迁移,故MultiNavigationStack不支持此接口,会抛出异常,请勿调用

clear

clear(animated?: boolean): void

清除栈中所有页面。

参数:

名称 类型 必填 描述
animated boolean 是否支持转场动画,默认值:true。

getAllPathName

getAllPathName(): Array<string>

获取栈中所有NavDestination页面的名称。

返回值:

类型 说明
Array<string> 返回栈中所有NavDestination页面的名称。

getParamByIndex

getParamByIndex(index: number): Object

获取index指定的NavDestination页面的参数信息。

参数:

名称 类型 必填 描述
index number NavDestination页面的位置索引。

返回值:

类型 说明
Object 返回对应NavDestination页面的参数信息。

getParamByName

getParamByName(name: string): Array<Object>

获取全部名为name的NavDestination页面的参数信息。

参数:

名称 类型 必填 描述
name string NavDestination页面名称。

返回值:

类型 说明
Array<Object> 返回全部名为name的NavDestination页面的参数信息。

getIndexByName

getIndexByName(name: string): Array<number>

获取全部名为name的NavDestination页面的位置索引。

参数:

名称 类型 必填 描述
name string NavDestination页面名称。

返回值:

类型 说明
Array<number> 返回全部名为name的NavDestination页面的位置索引。

size

size(): number

获取栈大小。

返回值:

类型 说明
number 返回栈大小。

disableAnimation

disableAnimation(value: boolean): void

关闭(true)或打开(false)当前MultiNavigation中所有转场动画。

参数:

名称 类型 必填 描述
value boolean 是否关闭转场动画,默认值:false。

getParent

getParent(): NavPathStack | null

说明:

MultiNavigation存在多重栈嵌套,故MultiNavigationStack不支持此接口,会抛出异常,请勿调用

setInterception

setInterception(interception: NavigationInterception): void

说明:

MultiNavigation存在多重栈嵌套,故MultiNavigationStack不支持此接口,会抛出异常,请勿调用

switchFullScreen

switchFullScreen(isFullScreen?: boolean): boolean

将当前最顶栈的分栏页的详情页面切换为全屏(true)或分栏(false)

参数:

名称 类型 必填 描述
isFullScreen boolean 是否切换为全屏。

返回值:

类型 说明
boolean 切换成功或失败。

setHomeWidthRange

setHomeWidthRange(minPercent: number, maxPercent: number): void

设置主页宽度可拖动范围。应用不设置的情况下宽度为50%,且不可拖动。

参数:

名称 类型 必填 描述
minPercent number 最小主页宽度百分比。
maxPercent number 最大主页宽度百分比。

SplitPolicy枚举类型

名称 描述
HOME_PAGE 主页页面类型。
DETAIL_PAGE 详情页页面类型。
FULL_PAGE 全屏页页面类型。

约束与限制

在下述版本验证通过:

  • DevEco Studio: 4.1.3.500, SDK: API12(5.0.0.20-Canary2)

注意:

本组件从API12开始支持。

由于MultiNavPathStack继承自原生NavPathStack,调用本文档明确说明的不支持接口或不在本文档支持接口列表中的接口,可能会发生无法预期的问题。

MultiNavPathStack目前仅支持使用方自行创建,不支持通过回调拿到,不要使用NavDestination的onReady等类似事件或接口来拿到NavPathStack进行栈操作,可能会发生无法预期的问题。

目录结构

/library/src/
- main/ets/components
  - mainpage
    - MultiNavigation.ets        # 高级分栏组件
    - SubNavigation.ets          # 分栏子组件
       
/entry/src/
- main/ets     
  - entryability                             # 测试Ability列表
    - EntryAbility.ts                        # 测试入口Ability
  - pages                                    # 测试page页面列表
    - index.ets                              # 程序入口页面
    - PageDetail1.ets                        # 测试详情页1
    - PageDetail2.ets                        # 测试详情页2
    - PageFull1.ets                          # 测试全屏页
    - PageHome1.ets                          # 测试主页1

贡献代码

使用过程中发现任何问题都可以提Issue给我们,当然,我们也非常欢迎你给我们发PR

开源协议

本项目基于 Apache License 2.0 ,请自由地享受和参与开源。

Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and (b) You must cause any modified files to carry prominent notices stating that You changed the files; and (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. Copyright [yyyy] [name of copyright owner] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

简介

提供高级分栏组件,给三方应用快速接入大尺寸设备的方案 展开 收起
Batchfile 等 3 种语言
Apache-2.0
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/openharmony-sig/ohos_multi_navigation.git
git@gitee.com:openharmony-sig/ohos_multi_navigation.git
openharmony-sig
ohos_multi_navigation
ohos_multi_navigation
master

搜索帮助