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

来源:互联网 发布:ubuntu安装有道词典 编辑:程序博客网 时间:2024/06/05 08:26
/*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
    {
        处理事件
    }
返回值:元素对象
0 0
原创粉丝点击