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

@beisen-platform/multi-item

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@beisen-platform/multi-item

## 项目运行

  • 0.0.11
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

multi-item 使用说明

项目运行

  1. cnpm install 或 npm install cnpm使用教程

  2. npm run dev (开发环境打包 port:8080)

  3. npm run test (测试用例)

  4. npm run build (生产环境打包)

multi-item 参数

  data:{
        "status": "edit" //状态:"edit"或"show"
            ,"name":"北森学院" //title
            ,"pname":"北森" //父title
            ,"isActive":false //是否选中(暂时无用)
            ,"istips": true //(是否使用tips)
            ,itemClose: function(event, data){
              console.log(data)
            } //删除按钮回调
      }

multi-item 调用方法

1.安装npm组件包

npm install @beisen/multi-item --save-dev

2.引用组件

import MultiItem from "@beisen/multi-item"

3.传入参数

data: {
      "status": "edit"
          ,"name":"北森学院"
          ,"pname":"北森"
          ,"isActive":false
          ,"istips": true
          ,itemClose: function(event, data){
            console.log(data)
          }
    }
render () {
    return (
      <MultiItem {...this.state.data} />
    )
  }

Keywords

FAQs

Package last updated on 15 Mar 2019

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