Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@miapp/immersive-navbar

Package Overview
Dependencies
Maintainers
7
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@miapp/immersive-navbar

immersive-navbar

  • 1.0.6
  • latest
  • npm
  • Socket score

Version published
Maintainers
7
Created
Source

immersive-navbar

immersive-navbar

使用

在页面的 page.json 中配置:

{
  "usingComponents": {
    "immersive-navbar": "@miapp/immersive-navbar/lib/index"
  }
}

在页面的 page.axml 中直接使用:

<immersive-navbar />

option参数

属性类型默认值解释
titleString''标题
specifiedLocationBooleanfalse指定位置出现导航栏
immersionContentBooleanfalse标题内容是否沉浸
loactionTopNumber 指定位置距离顶部位置
scrollTopNumber 滚动距离
backgroundColorHexColor#0368D9导航栏背景色
iconString''导航栏icon图标
widthString'72rpx'icon宽度
heightString'72rpx'icon高度

开发

  1. yarn 或者 ayarn阿里内网)安装依赖
  2. 小程序 IDE 打开组件(下载地址

更多命令

  • miapp newbranch: 新建分支
  • miapp push: 提交代码
  • miapp prepub: 预发(发布 beta 版本)
  • miapp publish: 正式发布

FAQs

Package last updated on 24 Nov 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc