您的搜索结果

    touchend

    当触点离开触控平面时触发touchend事件.

    常规信息

    规范
    Touch Events
    接口
    TouchEvent
    是否冒泡
    Yes
    能否取消默认行为
    Yes
    目标
    Document, Element
    默认行为

    属性

    Property Type Description
    target Read only EventTarget The event target (the topmost target in the DOM tree).
    type Read only DOMString The type of event.
    bubbles Read only boolean Does the event normally bubble?
    cancelable Read only boolean Is it possible to cancel the event?
    view Read only WindowProxy document.defaultView (the window of the document).
    detail Read only long (float) 0.
    touches TouchList A list of Touches for every point of contact currently touching the surface. Read only.
    targetTouches TouchList A list of Touches for every point of contact that is touching the surface and started on the element that is the target of the current event. Read only.
    changedTouches TouchList A list of Touches for every point of contact which contributed to the event.
    For the touchstart event this must be a list of the touch points that just became active with the current event. For the touchmove event this must be a list of the touch points that have moved since the last event. For the touchend and touchcancel events this must be a list of the touch points that have just been removed from the surface. Read only.
    ctrlKey Read only boolean true if the control key was down when the event was fired. false otherwise.
    shiftKey Read only boolean true if the shift key was down when the event was fired. false otherwise.
    altKey Read only boolean true if the alt key was down when the event was fired. false otherwise.
    metaKey Read only boolean true if the meta key was down when the event was fired. false otherwise.

    例子

    这些事件的代码示例在这个页面Touch events中均有体现.

    文档标签和贡献者

    对本页有贡献的人: jtyjty99999
    最后编辑者: jtyjty99999,