VLazy API
组件页面
属性
名称 | 类型 | 默认值 |
---|---|---|
height | ||
Sets the height for the component. | ||
max-height | ||
Sets the maximum height for the component. | ||
max-width | ||
Sets the maximum width for the component. | ||
min-height | ||
Sets the minimum height for the component. | ||
min-width | ||
Sets the minimum width for the component. | ||
model-value | ||
The v-model value of the component. If component supports the multiple prop, this defaults to an empty array. | ||
options | ||
Options that are passed to the Intersection observer constructor. | ||
tag | ||
Specify a custom tag used on the root element. | ||
transition | ||
Sets the component transition. Can be one of the built in or custom transition. | ||
width | ||
Sets the width for the component. |
事件
名称 | 类型 |
---|---|
update:modelValue | |
Event that is emitted when the component’s model changes. |
插槽
default |
The default Vue slot. |