您的位置:首页 > Web前端 > JavaScript

Raphael.js API之Element.mousedown(),Element.mousemove(),Element.mouseup(),Element.mouseout(),Element.

2014-06-20 10:46 411 查看
/*API-26*/

Element.mousedown(handle);

为元素添加鼠标按下事件

参数列表:

handler

    function

    {

        处理事件

    }

返回值:元素对象

/*API-29*/

Element.mouseover(handler)

为鼠标悬浮添加事件

handler

    function

    {

        处理事件

    }

返回值:元素对象

/*API-28*/

Element.mouseout(handler)

为鼠标移开添加事件

handler

    function

    {

        处理事件

    }

返回值:元素对象

/*API-27*/

Element.mousemove(handler)

为鼠标移动添加事件

handler

    function

    {

        处理事件

    }

返回值:元素对象

/*API-30*/

Element.mouseup(handler)

为鼠标弹起添加事件

handler

    function

    {

        处理事件

    }

返回值:元素对象
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  raphael
相关文章推荐