显示数据格式
子组件
Properties
- Number optional
宽高比。如果指定了这个值,我们会根据 heihgt = width / aspect 来计算高度。
- width Percentage | Number
默认值:'100%'
- Percentage | Number
指定容器的高度为一个数值,或者父节点高度的百分比值。
默认值:'100%'
- minWidth Number optional
- Number optional
指定容器的最小高度。
如果该值是一个正数,我们会用 debounce 函数来处理 resize 事件,避免 resize 事件频繁触发的问题。
默认值:0