Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: How do use "inView"? #40

Closed
Mat4m0 opened this issue Mar 17, 2024 · 2 comments · Fixed by #46
Closed

Question: How do use "inView"? #40

Mat4m0 opened this issue Mar 17, 2024 · 2 comments · Fixed by #46
Assignees
Labels

Comments

@Mat4m0
Copy link

Mat4m0 commented Mar 17, 2024

Hello just a short question is it possible to use use "inView" from Motion One to have a reveal effect like here?

When yes how to do so, didn't find anything in the documentation.

Many thanks for all your effort, highly appreciated :)

@YeSuX
Copy link
Collaborator

YeSuX commented Mar 25, 2024

We are currently developing some hooks, and the ”inView“ will be born in April.

@lokesh
Copy link

lokesh commented Oct 21, 2024

Example of using the in-view prop which isn't currently documented:

<Motion class="box"
      :initial="{ scale: 0.8 }"
      :in-view="{ scale: 1 }"
>
    In view
</Motion>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants