Daybrush (Younkue Choi)
Daybrush (Younkue Choi)
`animate` event in Scene uses `frames` property. https://daybrush.com/scenejs/release/latest/doc/Scene.html#event:animate ```js import React from 'react'; import Scene from "scenejs"; import { View, Text } from 'react-native'; export default class Example2 extends React.Component...
@jiameng123 Do you want to write code like this? ```js const carousel = scene.newItem(".carousel", { selector: true }); // scene.getItem(".carousel") carousel.set({ "0": { transform: { translateX: prevPos + "px" }...
@jiameng123 Oh, maybe you use `react-scenejs`. The`autoplay` option only works during the first mount. Otherwise, you must call the `play` method manually.
@jiameng123 Unfortunately, the role of autoplay now cannot do that. Is there any way you want to use it? I'll take a look at improving it.
@jiameng123 Oh, i see. Keyframes is not going to be easy. But I can do `autoplay`. I will fix `react-scenejs` and check them today or tomorrow.
@jiameng123 Maybe `play` is named `autoplay` because it same with `autoplay`. But `autoplay` is the right function you want.
@jiameng123 Hi. `[email protected]` has been published. `ready` props have been added. When you are ready to initialize, set `ready` to true. ```jsx render() { const { ready, keyframes} = this.state;...
@leeboo remove method's parameter is not array. this like below: ```js frame.remove("transform", "translate"); ``` you can juse use one property. ```js moveableFrame.remove('transform'); moveableFrame.remove('height'); ```
@qikong333 Much is still being prepared. Do a double click.
@qikong333 You found it wrong. Not here. https://github.com/daybrush/moveable https://github.com/daybrush/moveable/tree/master/packages/ngx-moveable