当前位置:网站首页>SAP UI5 应用开发教程之七十二 - SAP UI5 页面路由的动画效果设置
SAP UI5 应用开发教程之七十二 - SAP UI5 页面路由的动画效果设置
2022-04-23 13:25:00 【汪子熙】
在本教程前续步骤的 manifest.json 文件中,我们在 routing 区域进行页面的路由设置,能看到名为 transition 的属性。实际上,正是该属性能够控制 SAP UI5 不同页面之间跳转时采用的动画效果,默认值为 slide,即路由 target 界面采取从右到左的滑动效果,来替换发起路由的原始页面。

除了 slide 之外,SAP UI5 还支持 show,flip,fade 等路由动画特效。本文将通过实际例子一一讲解。
这些可选的路由特效效果值,在文件 sap/m/NavContainer.js 里逐一定义。

本步骤的源代码地址如下。
下载代码到本地后,进入文件夹 72,运行命令行 ui5 serve 之后,访问如下 url,进入 id 为 1 的 employee 明细页面:
http://localhost:8080/webapp/index.html#/employees/1
此时发现多了一个超链接:
版权声明
本文为[汪子熙]所创,转载请带上原文链接,感谢
https://jerry.blog.csdn.net/article/details/124361471
边栏推荐
- Mysql数据库的卸载
- Feature Engineering of interview summary
- The first lesson is canvas, showing a small case
- mui 微信支付 排坑
- Uniapp image import local image not displayed
- [point cloud series] relationship based point cloud completion
- Servlet of three web components
- Mui wechat payment pit
- Mui + hbuilder + h5api simulate pop-up payment style
- 9419页最新一线互联网Android面试题解析大全
猜你喜欢

hbuilderx + uniapp 打包ipa提交App store踩坑记

Interface idempotency problem
![[point cloud series] neural opportunity point cloud (NOPC)](/img/ba/24417762ef5c52d2d6b57f18a3b0a2.png)
[point cloud series] neural opportunity point cloud (NOPC)

AUTOSAR from introduction to mastery 100 lectures (81) - FIM of AUTOSAR Foundation

叮~ 你的奖学金已到账!C认证企业奖学金名单出炉

The difference between string and character array in C language
![[point cloud series] so net: self organizing network for point cloud analysis](/img/3c/6136b7aa322c42089f40ce13a2d747.png)
[point cloud series] so net: self organizing network for point cloud analysis
![[point cloud series] summary of papers related to implicit expression of point cloud](/img/71/2ea1e8a0d505577c9057670bd06046.png)
[point cloud series] summary of papers related to implicit expression of point cloud

榜样专访 | 孙光浩:高校俱乐部伴我成长并创业
![[point cloud series] foldingnet: point cloud auto encoder via deep grid deformation](/img/c0/cc29ae6948dbe42954cd9da326ef77.png)
[point cloud series] foldingnet: point cloud auto encoder via deep grid deformation
随机推荐
Uninstall MySQL database
Analysis of the latest Android high frequency interview questions in 2020 (BAT TMD JD Xiaomi)
ESP32 VHCI架构传统蓝牙设置scan mode,让设备能被搜索到
Example interview | sun Guanghao: College Club grows and starts a business with me
playwright控制本地谷歌浏览打开,并下载文件
Common interview questions and detailed analysis of the latest Android developers in 2020
[multi screen interaction] realize dual multi screen display II: startactivity mode
Imx6ull QEMU bare metal tutorial 2: usdhc SD card
MySQL basic statement query
Migrating your native/mobile application to Unified Plan/WebRTC 1.0 API
AUTOSAR from introduction to mastery 100 lectures (52) - diagnosis and communication management function unit
Using open to open a file in JNI returns a - 1 problem
Data warehouse - what is OLAP
According to the salary statistics of programmers in June 2021, the average salary is 15052 yuan. Are you holding back?
Unified task distribution scheduling execution framework
The filter() traverses the array, which is extremely friendly
AUTOSAR from introduction to mastery 100 lectures (83) - bootloader self refresh
Learning notes of AMBA protocol
Scons build embedded ARM compiler
You and the 42W bonus pool are one short of the "Changsha bank Cup" Tencent yunqi innovation competition!