cursor:悬停html5 canvas元素的指针 [英] cursor:pointer on hover html5 canvas element

查看:680
本文介绍了cursor:悬停html5 canvas元素的指针的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有做到这一点让用户知道该元素是可点击?我已经使用easeljs,但没有找到任何相关的

is there anyway to do this to let the user know the element is clickable?. I have been using easeljs but haven't found anything related

推荐答案

你可以使用这个:如何在html5画布中创建可点击点?

当鼠标在该区域时,您可以设置: $('#canvasID')css('cursor','pointer') code> $('#canvasID')。css('cursor','auto')当它没有超过它。

and while the mouse is in that area, you can set: $('#canvasID').css('cursor','pointer') and $('#canvasID').css('cursor','auto') when it's not over it.

这篇关于cursor:悬停html5 canvas元素的指针的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆