kekesita
kekesita
修改元素动画属性(animation) 时在autoplay为false的情况下 , 执行后元素其他样式属性会被动画的属性影响。 重现代码如下 可在Playground直接重现: ```javaScript // #动画样式 [关键帧动画] import { Leafer, Rect } from 'leafer-ui' import '@leafer-in/animate' // 导入动画插件 const leafer = new Leafer({ view: window }) const...
对文字使用动画从透明度0->1进行动画时 , 在完全显示出来后的那一刻 文字会出现一个像素的闪动 不使用stroke属性的情况下 貌似没有这个情况 , 如果对多文字用连续出现动画 会有一个很明显的跳动 以下代码可在官网直接复现 ```javaScript // #创建 Text [标准创建 (Leafer)] import { Leafer,App } from 'leafer-ui' const leafer = new App({ view: window, //view:...
组件flow开启自动布局后无法实现,size/position 相关的动画,后续是否有支持的规划 , 大概会在什么周期支持? 希望有css中transform的概念 不破化布局只是视觉位移, 这样更容易实现一些动画效果。 示例代码 ```js // #自动布局 import { Leafer, Box } from 'leafer-ui' import { Flow } from '@leafer-in/flow' // 导入自动布局插件 const leafer = new...
官网上的playground可直接使用以下代码复现 ```js // #创建 Text [带背景框样式 (Leafer)] import { Leafer, Text } from 'leafer-ui' import '@leafer-in/state' // 导入交互状态插件 import '@leafer-in/animate' // 导入动画插件 const leafer = new Leafer({ view: window })...
### 示例代码 ```js import { Leafer, Text } from 'leafer-ui' import '@leafer-in/animate' // 导入动画插件 const leafer = new Leafer({ view: window }) const t = new Text({ x: 300, y:...