0.4.0 • Published 2 years ago

@otools/el-description v0.4.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@otools/el-description

el-description

Install

npm i @otools/el-description

Usage

import { ElDescription, ElDescriptionItem } from '@otools/el-description'

Vue.use(ElDescription)
Vue.use(ElDescriptionItem)

Attributes

Description

参数说明类型默认值可选值示例
data数据源(动态数据必传,为了监听数据重绘,非动态数据可不传)object{}--
title描述列表的标题,显示在最顶部string/vnode---
margin组件边距string--'10px 20px'
column显示行数number/string3-2
size设置列表的大小,可以设置为 smallstringdefaultsmall-
labelWidthDescltem 的 label 宽度string120px--

Description Item

参数说明类型默认值可选值示例
label内容的描述(必传)string/vnode---
span所占的格数number1-2

Description Item Slot

参数说明类型默认值可选值示例
default仅支持纯文本的插槽string---
content支持纯文本、dom 插槽string/vnode---
0.4.0

2 years ago

0.3.0

2 years ago

0.1.2

3 years ago

0.2.0

3 years ago

0.1.3

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago