中文
Appearance
interactivity.events.onClick 定义当用户单击/点击画布时会发生什么。
interactivity.events.onClick
interactivity: { events: { onClick: { enable: true, mode: ["push", "repulse"], }, }, modes: { push: { quantity: 4, }, repulse: { distance: 120, duration: 0.4, }, }, }
quantity
distance
Privacy settings
Choose how this site can use analytics and advertising technologies. You can continue with essential only, accept all, or save custom preferences. Cookie Policy and Privacy Policy.