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

enn-navigation-bar

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

enn-navigation-bar - npm Package Compare versions

Comparing version 0.0.9 to 0.0.11

9

package.json
{
"name": "enn-navigation-bar",
"version": "0.0.9",
"version": "0.0.11",
"description": "",

@@ -24,7 +24,8 @@ "main": "index.js",

"vue": "^2.6.14",
"vue-template-compiler": "^2.6.14"
"vue-template-compiler": "^2.6.14",
"element-ui": "^2.13.0"
},
"dependencies": {
"element-ui": "^2.15.5"
"peerDependencies": {
"element-ui": ">=2.13.0"
}
}

@@ -77,12 +77,10 @@ # NavigationBar

| 参数 | 类型 | 必填 | 默认值 | 说明 |
| -------- | ------- | ---- | ------- | ------------------------------ |
| logo | string | | - | logo 图片链接 |
| logoHref | string | | - | 点击 logo 跳转的链接 |
| title | string | | - | 页面标题 |
| user | Object | 是 | - | 用户信息 |
| isLogged | Boolean | 是 | false | 是否已登录 |
| options | Array | | - | hover 显示的用户信息及相关操作 |
| bgColor | string | | #ffffff | 导航栏背景颜色 |
| color | string | | #333333 | 用户信息字体颜色 |
| 参数 | 类型 | 必填 | 默认值 | 说明 |
| -------- | ------- | ---- | ------ | ------------------------------ |
| logo | string | | - | logo 图片链接 |
| logoHref | string | | - | 点击 logo 跳转的链接 |
| title | string | | - | 页面标题 |
| user | Object | 是 | - | 用户信息 |
| isLogged | Boolean | 是 | false | 是否已登录 |
| options | Array | | - | hover 显示的用户信息及相关操作 |

@@ -112,1 +110,18 @@ ### NavigationBar Events

| handler | Function | | - | 手动处理点击事件的回调函数,参数为该项的值 |
## 插槽 Slots
| 插槽名称 | 绑定值 | 作用 |
| ---------- | ------ | ------------------ |
| centerSlot | | 中间空白部分的插槽 |
####
```vue
<Nav
title="XXX 网络管理平台"
@onLogin="onLogin"
@onLogout="onLogout"
>
<template #centerSlot>centerSlot</template>
</Nav>
```

Sorry, the diff of this file is not supported yet

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