Skip to content

tap事件的类型 #20

Description

@mingjunyang
  touch.on(submitID, "tap", function(evt) {
          console.log(evt)
        var validate_result = true;
        if (validate_result) {
          console.log("tap")
            //   $(eleID).submit();
        }
      })

这里console出来的 evt 有两个
Event
CustomEvent

这是个什么原因?touch里的所有的事件都有Event和CustomEvent吗?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions