当前位置:网站首页>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
边栏推荐
- Super 40W bonus pool waiting for you to fight! The second "Changsha bank Cup" Tencent yunqi innovation competition is hot!
- 【行走的笔记】
- SSM整合之pom.xml
- nodeJs + websocket 循环小案例
- Data warehouse - what is OLAP
- Xi'an CSDN signed a contract with Xi'an Siyuan University, opening a new chapter in IT talent training
- 交叉碳市场和 Web3 以实现再生变革
- [Journal Conference Series] IEEE series template download guide
- Esp32 vhci architecture sets scan mode for traditional Bluetooth, so that the device can be searched
- "Play with Lighthouse" lightweight application server self built DNS resolution server
猜你喜欢
mui + hbuilder + h5api模拟弹出支付样式
[point cloud series] learning representations and generative models for 3D point clouds
[point cloud series] summary of papers related to implicit expression of point cloud
[point cloud series] full revolutionary geometric features
CMSIS cm3 source code annotation
EMMC / SD learning notes
[wechat applet] flex layout usage record
解决Oracle中文乱码的问题
[Journal Conference Series] IEEE series template download guide
Learning notes of AMBA protocol
随机推荐
Processbuilder tool class
[wechat applet] flex layout usage record
playwright控制本地穀歌瀏覽打開,並下載文件
缘结西安 | CSDN与西安思源学院签约,全面开启IT人才培养新篇章
FatFs FAT32 learning notes
榜样专访 | 孙光浩:高校俱乐部伴我成长并创业
十万大学生都已成为猿粉,你还在等什么?
[walking notes]
Mui close other pages and keep only the first page
Super 40W bonus pool waiting for you to fight! The second "Changsha bank Cup" Tencent yunqi innovation competition is hot!
Common interview questions and detailed analysis of the latest Android developers in 2020
Uniapp image import local image not displayed
[quick platoon] 215 The kth largest element in the array
Isparta is a tool that generates webp, GIF and apng from PNG and supports the transformation of webp, GIF and apng
Scons build embedded ARM compiler
@Excellent you! CSDN College Club President Recruitment!
面试官给我挖坑:单台服务器并发TCP连接数到底可以有多少 ?
Nodejs + Mysql realize simple registration function (small demo)
web三大组件之Filter、Listener
Solve the problem of Oracle Chinese garbled code