Employee Spotlight
From Academia to Industry
Philipp Burckhardt recounts his journey from childhood computer fascinations, to building an e-learning platform at Carnegie Mellon University, and on to his current role at Socket.
@beisen-phoenix/dropdown-list
Advanced tools
Readme
@beisen-phoenix/dropdown-list
此组件仅用于pagebuilder
参数 | 说明 | 类型 | 默认值 | 是否必传 |
---|---|---|---|---|
disable | 是否禁用 | boolean | false | 否 |
visible | 弹层是否显示 | boolean | false | 否 |
trigger | 触发展示的行为: hover click | click / ['click'] | `` | 否 |
items | 弹层数据源 | Array | -- | 否 |
layerSize | 尺寸大小: small(170px) large(340px) auto(与父级自适应) | small large | auto | -- |
getPopupContainer | 弹层挂载的容器(默认是挂载到body下,通过此函数可以改变弹层挂载的节点) | Funtion | -- | 否 |
buttonText | 按钮文字 | string | 我是示例 | 否 |
buttonStyleType | 按钮样式类型 | primary ,secondary ,normal | primary | 否 |
buttonSize | 按钮尺寸 | super ,big ,middle ,small | false | 否 |
onVisibleChange | 弹层显示状态改变时调用, 参数为visible | (visible: boolean) => void | 无 | 否 |
onSelectChange | 弹层中列表点击事件的回调 | (value: string) => void | 无 | 否 |
FAQs
> @beisen-phoenix/dropdown-list
The npm package @beisen-phoenix/dropdown-list receives a total of 2,157 weekly downloads. As such, @beisen-phoenix/dropdown-list popularity was classified as popular.
We found that @beisen-phoenix/dropdown-list demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.
Employee Spotlight
Philipp Burckhardt recounts his journey from childhood computer fascinations, to building an e-learning platform at Carnegie Mellon University, and on to his current role at Socket.
Security News
Git dependencies in open source packages can introduce significant risks, including lack of version control, stability issues, dependency drift, and difficulty in auditing, making them potential targets for supply chain attacks.
Security News
Node.js has added experimental support for TypeScript, a move that highlights the growing importance of TypeScript in modern development.