Skip to content

Leafer

用于创建Leafer组件。

基础用法

核心属性

名称类型默认值说明
widthnumber——宽度
heightnumber——高度
pixelRationumber1像素比
fillstring——填充色
hittablebooleantrue是否响应交互事件
readyboolean——否准备就绪(完成首次布局)
viewReadyboolean——视图是否准备就绪(完成首次渲染)
runningboolean——是否运行中

更多属性请查看Leafer |🌿 Leafer UI

事件请查看事件处理 |🌿 Leafer Vue

Released under the MIT License.