Socket
Socket
Sign inDemoInstall

@beisen-phoenix/dropdown-list

Package Overview
Dependencies
155
Maintainers
1
Versions
369
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @beisen-phoenix/dropdown-list

> @beisen-phoenix/dropdown-list


Version published
Maintainers
1
Created

Readme

Source

下拉菜单

@beisen-phoenix/dropdown-list

概述

此组件仅用于pagebuilder

Dropdown API

参数说明类型默认值是否必传
disable是否禁用booleanfalse
visible弹层是否显示booleanfalse
trigger触发展示的行为: hover clickclick / ['click']``
items弹层数据源Array--
layerSize尺寸大小: small(170px) large(340px) auto(与父级自适应)small largeauto--
getPopupContainer弹层挂载的容器(默认是挂载到body下,通过此函数可以改变弹层挂载的节点)Funtion--
buttonText按钮文字string我是示例
buttonStyleType按钮样式类型primary,secondary,normalprimary
buttonSize按钮尺寸super,big,middle,smallfalse
onVisibleChange弹层显示状态改变时调用, 参数为visible(visible: boolean) => void
onSelectChange弹层中列表点击事件的回调(value: string) => void

FAQs

Last updated on 25 Nov 2019

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc