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

data-magnetic #17

Open
HasanSibakhi opened this issue Feb 11, 2023 · 3 comments
Open

data-magnetic #17

HasanSibakhi opened this issue Feb 11, 2023 · 3 comments
Labels
question Further information is requested

Comments

@HasanSibakhi
Copy link

HasanSibakhi commented Feb 11, 2023

Hi again, I added this tag (data-magnetic), but it didn't work. I think it's disabled!

Thank you.

@sagarkhadka
Copy link

For data-magnetic you have to wrap your element with an div that holds data-cursor-stick. Heres an exaple:

<div data-cursor-stick='#stick-here'>
 <div id='stick-here'>
  <BiMenu />
</div>
</div>

@HasanSibakhi
Copy link
Author

HasanSibakhi commented Feb 11, 2023

@sagarkhadka
thank you for your time.

Yes, I know this point. I meant the magnet like the picture below
https://s3.gifyu.com/images/magnetic.gif

@sagarkhadka
Copy link

@HasanSibakhi For the effect I think cuberto has given different repo. You can find it here. Maybe this will help.

@Drafteed Drafteed added the question Further information is requested label Feb 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants