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
{
处理事件
}
返回值:元素对象
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.js API之Element.id,Element.insertAfter(),Element.insertBefore(),Element.hide(),Paper.clear(),
- Raphael.js API 之 Element.attr()
- Raphael.js API 之Element.unclick(),Paper.add(),Paper.rect(),Element.status()
- Raphael.js API之 Element.raphael,Paper.raphael,Paper.print()
- Raphael.js API之 Paper.path(),Element.click()
- Raphael.js API之Paper.image(),Element.animate()
- Raphael.js API之 Animation.delay(),Animation.repeat(),Element.animateWith()
- JavaScript鼠标事件onmousedown,onmousemove,onmouseout,onmouseover,onmouseup的用法和区别详解
- js 鼠标 mousedown,mouseup,按键keydown,keyup 事件
- Raphael.js API 之Element.remove(),Element.removeData(),paper.text(),Element.node(),Element.onDragOver
- Raphael.js API之Element.drag(),Element.toBack()
- 认识js中的鼠标按下放开mousedown,mouseup以及按键事件keydown,keyup
- 19,事件中级,默认事件,renturn false,拖拽,onmousedown,onmousemove,onmouseup
- Raphael.js API 之Element.remove(),Element.removeData(),paper.text(),Element.node(),Element.onDragOver
- web-前端之事件冒泡,其中包括(onmousemove,onmouseover,onmouseout,onmouseleave,onmouseup,onmouseentter)可用于一些计数小游戏
- Raphael.js API之Raphael.svg(),Element.paper,Element.pause(),Raphael.pathBBox(),Raphael.st,Raphael.el
- Raphael.js API之Element.clone(),Element.data(),Element.dblclick()
- javascript简单拖拽实现代码(鼠标事件 mousedown mousemove mouseup)
- JS无法捕获滚动条上的mouse up事件的猜想
- sp.ui.rte.debug.js moveToElementText 参数无效