当前位置:网站首页>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
边栏推荐
- You and the 42W bonus pool are one short of the "Changsha bank Cup" Tencent yunqi innovation competition!
- TCP 复位gongji原理和实战复现
- [point cloud series] summary of papers related to implicit expression of point cloud
- MySQL5.5安装教程
- SHA512 / 384 principle and C language implementation (with source code)
- AUTOSAR from introduction to mastery 100 lectures (52) - diagnosis and communication management function unit
- Playwright contrôle l'ouverture de la navigation Google locale et télécharge des fichiers
- Super 40W bonus pool waiting for you to fight! The second "Changsha bank Cup" Tencent yunqi innovation competition is hot!
- uniapp image 引入本地图片不显示
- 【行走的笔记】
猜你喜欢

Detailed explanation of ADB shell top command

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

面试官给我挖坑:单台服务器并发TCP连接数到底可以有多少 ?
![[indicators] precision, recall](/img/40/8fbd9b83bd2fe8ac13ffeb1834b002.png)
[indicators] precision, recall

超40W奖金池等你来战!第二届“长沙银行杯”腾讯云启创新大赛火热来袭!

100000 college students have become ape powder. What are you waiting for?

web三大组件之Servlet

MySQL5.5安装教程

SPI NAND flash summary

AUTOSAR from introduction to mastery 100 lectures (52) - diagnosis and communication management function unit
随机推荐
Request和Response及其ServletContext总结
Common analog keys of ADB shell: keycode
【官宣】长沙软件人才实训基地成立!
torch. Where can transfer gradient
Machine learning -- PCA and LDA
Short name of common UI control
Nodejs + websocket cycle small case
面试官给我挖坑:URI中的 “//” 有什么用?
Playwright contrôle l'ouverture de la navigation Google locale et télécharge des fichiers
[point cloud series] so net: self organizing network for point cloud analysis
LeetCode_DFS_中等_695.岛屿的最大面积
Uninstall MySQL database
MySQL5.5安装教程
What do the raddr and rport in webrtc ice candidate mean?
Data warehouse - what is OLAP
Introduction to metalama 4 Use fabric to manipulate items or namespaces
[point cloud series] unsupervised multi task feature learning on point clouds
顶级元宇宙游戏Plato Farm,近期动作不断利好频频
Loading and using image classification dataset fashion MNIST in pytorch
The difference between string and character array in C language