当前位置: 首页 > news >正文

郑州app开发多少钱公众号排名优化软件

郑州app开发多少钱,公众号排名优化软件,建设信息港网站,网站经营性备案流程文章目录 前言1. SplitApp1.1 组件结构1.2 Demo1.3 mode属性 2. SplitContainer 前言 本章节记录常用控件SplitApp,SplitContainer。主要功能是在左侧显示Master页面,右侧显示Detail页面。 Master页面和Detail页面可以由多个Page组成,并支持…

文章目录

  • 前言
  • 1. SplitApp
    • 1.1 组件结构
    • 1.2 Demo
    • 1.3 mode属性
  • 2. SplitContainer


前言

本章节记录常用控件SplitApp,SplitContainer。主要功能是在左侧显示Master页面,右侧显示Detail页面。
Master页面和Detail页面可以由多个Page组成,并支持相互跳转。
其路径分别是:

  • sap.m.SplitApp
  • sap.m.SplitContainer

1. SplitApp

1.1 组件结构

SplitApp包含masterPages和detailPages,masterPages包含多个Page并且detailPages也包含多个Page。每个Page由id区分其路径。初始化时需要initialMaster和initialDetail两个属性中指定需要呈现的Page。

  • 示例
<SplitAppid="SplitAppDemo"initialMaster="master"initialDetail="detail"><masterPages><Page id="master"/><Page id="master2"/></masterPages><detailPages><Page id="detail"/><Page id="detail2"/></detailPages>
</SplitApp>

1.2 Demo

在这里插入图片描述

  • View
    <Pageid="page"title="{i18n>title}"><SplitAppid="SplitAppDemo"initialDetail="detail"initialMaster="master"><masterPages><Pageid="master"title="Master 1"backgroundDesign="List"><List><StandardListItemtitle="To Master2"type="Navigation"press=".onPressGoToMaster"/></List></Page><Pageid="master2"title="Master 2"backgroundDesign="List"showNavButton="true"navButtonPress=".onPressMasterBack"><List itemPress=".onListItemPress"><items><StandardListItemtitle="To Detail 1"type="Active"custom:to="detail"/><StandardListItemtitle="To Detail 2"type="Active"custom:to="detailDetail"/><StandardListItemtitle="To Detail 3"type="Active"custom:to="detail2"/></items></List></Page></masterPages><detailPages><Pageid="detail"title="Detail 1"backgroundDesign="Solid"><VBox><Label text="Detail page 1" /><Buttontext="Go to Detail page2"press=".onPressNavToDetail"/></VBox></Page><Pageid="detailDetail"title="Detail 2"backgroundDesign="Solid"showNavButton="true"navButtonPress=".onPressDetailBack"><VBox class="sapUiSmallMargin"><Text text="This is Detail Page2" /></VBox></Page><Pageid="detail2"title="Detail 3 Page"backgroundDesign="Solid"showNavButton="true"navButtonPress=".onPressDetailBack"><Label text="This is Detail Page3" /><Input /><Label text="Label 2" /><Input /><Label text="Label 3" /><Input /><Label text="Label 4" /><Input /><Label text="Label 5" /><Input /></Page></detailPages></SplitApp></Page>
  • Controller
    onInit: function () {this.oSplitApp = this.byId("SplitAppDemo");},onPressNavToDetail: function () {this.oSplitApp.to(this.createId("detailDetail"));},onPressDetailBack: function () {this.oSplitApp.backDetail();},onPressMasterBack: function () {this.oSplitApp.backMaster();},onPressGoToMaster: function () {this.oSplitApp.toMaster(this.createId("master2"));},onListItemPress: function (oEvent) {var sToPageId = oEvent.getParameter("listItem").getCustomData()[0].getValue();this.oSplitApp.toDetail(this.createId(sToPageId));}

1.3 mode属性

  • HideMode ( 不论屏幕大小,Master始终在左上角隐藏 )在这里插入图片描述

  • ShowHideMode(屏幕尺寸大时显示在左侧,尺寸小时隐藏在左上方)
    在这里插入图片描述

  • StretchCompressMode(始终在左侧显示)
    在这里插入图片描述

  • PopoverMode(小尺寸时以Popup形式显示)
    在这里插入图片描述


2. SplitContainer

上面提到的SplitApp是继承了SplitContainer。SplitContainer在其用法上和SplitApp是差不多的。

http://www.yayakq.cn/news/137049/

相关文章:

  • 移动wap站点营销网站设计公司排名
  • 六安市裕安区建设局网站wordpress自动分表
  • 免费大型网站网站权限配置
  • 做电影资源缓存网站教程菏泽网站建设哪好
  • 高端网站定制设计公司海珠区手机版网站建设
  • wordperss网站做负载均衡制作高端app开发公司
  • 广元网站建设优化多语言商城网站开发
  • 衡水网站建设制作网站托管要求
  • 中华建设杂志社网站灰色词排名接单
  • 网站建设客户需求表 文库手机网站效果图做多大的
  • 数据来源于网站需如何做脚注做网站基本东西
  • 成都网站关键词商城类网站开发
  • 唐河企业网站制作哪家好wordpress seo主题
  • 西安保洁公司网站建设重庆建工集团股份有限公司官网
  • 南昌net网站开发湖北智能网站建设推荐
  • 手把手教你搭建自己的网站深圳网站设计价格表
  • jeecg 3.7 网站开发苏州集团网站制作设计
  • 网站品牌推广策略网站建设代理
  • 小学网站建设方案书wordpress负载状态100%
  • 青岛哪家网站建设好wordpress内页收录
  • 手机网站的引导页如何丰富网站内容
  • 网站怎么上传源码辽宁建设工程信息网诚信库怎么入库
  • 厦门机场到厦门厦门网站建设通化县建设局网站
  • 免费建设网站c3sales68网页设计欣赏
  • 重庆网站备案在那里南昌微信营销公司
  • 太原市做网站网站页脚内容
  • 有没有做试题的网站建设网站论文范文
  • 网站制作信息野花韩国视频在线观看免费高清
  • 怎么做网站背景图片学电子商务好找工作吗
  • 定制网站建设的流程网站开发学什么