交流?独裁?技术-目的-改变世界...远离编程,珍爱生命。


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

/*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
    {
        处理事件
    }
返回值:元素对象

posted @ 2014-06-20 10:46  Jinx007  阅读(232)  评论(0编辑  收藏  举报

Medivh 麦迪文——世界最后的守护者。