zoukankan      html  css  js  c++  java
  • 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
        {
            处理事件
        }
    返回值:元素对象
  • 相关阅读:
    白盒测试的特点
    什么是黑盒测试
    黑盒测试优缺点
    单元测试
    孤立的测试策略
    自顶向下的单元测试策略
    自底向上的单元测试策略
    tabbedApliction
    redis的key对应mysql数据表设计
    达内javase_day1笔记
  • 原文地址:https://www.cnblogs.com/MedivhQ/p/4074928.html
Copyright © 2011-2022 走看看