🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@beysong/wxc-flex

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@beysong/wxc-flex

MinUI 小程序组件 - flex

latest
Source
npmnpm
Version
1.0.10
Version published
Maintainers
1
Created
Source

wxc-flex

MinUI 小程序组件 - flex

Install

$ min install @minui/wxc-flex

API

Flex【props】

名称描述
dir主轴方向。取值范围:

- left:水平正序(默认)
- right:水平倒序
- top:垂直正序
- bottom:垂直倒序
main主轴对齐方式。取值范围:

- start:启点排列(默认)
- end:终点排列
- between:两端对齐
- center:居中对齐
- around:等间分布
cross交叉轴对齐方式。取值范围:

- stretch:拉伸铺满(默认)
- start:启点排列
- end:终点排列
- center:居中对齐
- baseline:基线对齐
wrap换行设置。取值范围:

- nowrap:不换行(默认)
- wrap:正序换行
- reverse:倒序换行
bind:click点击事件。组件带 slot 时,在组件中使用事件点击到 slot 会报错,绑定事件请用该自定义事件。
地址
flex 组件文档
https://meili.github.io/min/docs/minui/index.html#flex
flex 组件源码
https://github.com/beysong/minui/tree/master/packages/wxc-flex
MinUI 组件库
https://github.com/meili/minui

Preview

flex

ChangeLog

v1.0.3(2018.6.5)

  • 增加点击事件。

v1.0.2(2017.11.02)

  • update .npmignore

v1.0.1(2017.10.24)

  • 初始版本

FAQs

Package last updated on 21 Sep 2018

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