GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — casecode/nativetab at master · MissKSDance/casecode

Expand file tree

/

nativetab

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
 
 
/

nativetab

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
css
css
 
 
fonts
fonts
 
 
html
html
 
 
images
images
 
 
js
js
 
 
unpackage
unpackage
 
 
README.md
README.md
 
 
index.html
index.html
 
 
manifest.json
manifest.json
 
 

README.md

Outline

tab选项卡示例教程-nativeObj原生模式tab(含底部凸起大图标)

概述

这是一个利用原生view控件绘制底部选项卡的示例,有以下几个特点: 1.首页显示第一个tab项内容,其余tab项内容为首页的子窗口,相比创建四个子窗口,显示速度更快,占用内存更少,消耗性能更小。 2.操作简单:选项卡常用于App首页,为加快渲染,首页的原生底部选项卡是在manifest.json中通过plus -> launchwebview -> subNViews 节点配置的; 3.绘制内容支持字体,图片,矩形区域 4.开发者自定义选项卡点击事件 5.同样支持页内手动绘制 view 控件,也就是说在非首页也可以使用此方法,参考示例:底部选项卡中央凸起悬浮大图标的绘制

说明:中央凸起悬浮大图标,因涉及屏幕分辨率动态计算和为给出开发者页内手动绘制的示例的原因,放在首页plusReady事件中实现绘制的。该悬浮大图标支持点击事件,开发者可定制实现对应的点击逻辑。

应用截图

截图

快速体验

流应用app下载 --> 扫描下方二维码快速体验

二维码

使用教程

教程参考

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.