posva / vue-motion

Easy and natural state transitions
https://posva.net/vue-motion
MIT License
379 stars 16 forks source link

Is there human understandable example how to use it? #17

Closed thariddler closed 6 years ago

thariddler commented 6 years ago

Ok. This example from Docs make no sense for me. Sorry.

<Motion :value="offset" tag="div">
  <div slot-scope="props" :style="{ transform: `translateX(${props.value}px)` }"></div>
</Motion>
// in the component
this.offset = 200
  1. What component you are talking about?
  2. What is this.offset?
  3. What is props?
posva commented 6 years ago

There are other examples with documentation at https://posva.net/vue-motion/#/home

But please, be more respectful towards wy work next time, thanks

thariddler commented 6 years ago

@posva I am respectful to your work, it's just it's painful to see that not many people can consume the results of your work, because of documentation.

posva commented 6 years ago

Your language and vocabulary you use isn't respectful at all haha