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
    {
        处理事件
    }
返回值:元素对象
原文地址:https://www.cnblogs.com/MedivhQ/p/4074928.html