issues
search
xiazeyu
/
live2d-widget.js
Live2D on webpages with out-of-the-box experience.
https://l2dwidget.js.org/
GNU Affero General Public License v3.0
1.55k
stars
258
forks
source link
feat: opacity settings about mouse and touch event
#17
Open
xiazeyu
opened
6 years ago
xiazeyu
commented
6 years ago
Migrated from
https://github.com/EYHN/hexo-helper-live2d/issues/29
[ ] Now trying to added it into clientJs
http://m.jb51.net/article/63841.htm
http://m.jb51.net/article/45354.htm
https://developer.mozilla.org/en-US/docs/Web/API/Element/getClientRects
https://developer.mozilla.org/en-US/docs/Web/API/Element/getBoundingClientRect
监听onmousemove事件再获取一个鼠标位置算出是否hover
[ ] maxinumDelay: 300ms