{"action":"created","issue":{"url":"https://api.github.com/repos/amazeui/amazeui/issues/771","labels_url":"https://api.github.com/repos/amazeui/amazeui/issues/771/labels{/name}","comments_url":"https://api.github.com/repos/amazeui/amazeui/issues/771/comments","events_url":"https://api.github.com/repos/amazeui/amazeui/issues/771/events","html_url":"https://github.com/amazeui/amazeui/issues/771","id":116312448,"number":771,"title":"表单自定义验证看了文档也不太清楚具体如何实现","user":{"login":"mqliutie","id":11795518,"avatar_url":"https://avatars.githubusercontent.com/u/11795518?v=3","gravatar_id":"","url":"https://api.github.com/users/mqliutie","html_url":"https://github.com/mqliutie","followers_url":"https://api.github.com/users/mqliutie/followers","following_url":"https://api.github.com/users/mqliutie/following{/other_user}","gists_url":"https://api.github.com/users/mqliutie/gists{/gist_id}","starred_url":"https://api.github.com/users/mqliutie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mqliutie/subscriptions","organizations_url":"https://api.github.com/users/mqliutie/orgs","repos_url":"https://api.github.com/users/mqliutie/repos","events_url":"https://api.github.com/users/mqliutie/events{/privacy}","received_events_url":"https://api.github.com/users/mqliutie/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/amazeui/amazeui/labels/js-validator","name":"js-validator","color":"5319e7"},{"url":"https://api.github.com/repos/amazeui/amazeui/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-11T11:13:53Z","updated_at":"2015-11-16T08:13:35Z","closed_at":"2015-11-16T08:00:29Z","body":"```JavaScript\r\n$('#your-form').validator({\r\n  validate: function(validity) {\r\n    // 什么时候会触发这个方法?\r\n  }\r\n})\r\n```"},"comment":{"url":"https://api.github.com/repos/amazeui/amazeui/issues/comments/156952306","html_url":"https://github.com/amazeui/amazeui/issues/771#issuecomment-156952306","issue_url":"https://api.github.com/repos/amazeui/amazeui/issues/771","id":156952306,"user":{"login":"mqliutie","id":11795518,"avatar_url":"https://avatars.githubusercontent.com/u/11795518?v=3","gravatar_id":"","url":"https://api.github.com/users/mqliutie","html_url":"https://github.com/mqliutie","followers_url":"https://api.github.com/users/mqliutie/followers","following_url":"https://api.github.com/users/mqliutie/following{/other_user}","gists_url":"https://api.github.com/users/mqliutie/gists{/gist_id}","starred_url":"https://api.github.com/users/mqliutie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mqliutie/subscriptions","organizations_url":"https://api.github.com/users/mqliutie/orgs","repos_url":"https://api.github.com/users/mqliutie/repos","events_url":"https://api.github.com/users/mqliutie/events{/privacy}","received_events_url":"https://api.github.com/users/mqliutie/received_events","type":"User","site_admin":false},"created_at":"2015-11-16T08:13:35Z","updated_at":"2015-11-16T08:13:35Z","body":"不过有个问题,我在一个html内部测试的时候是可以的,用在angular里面就出问题了,只有focusout时候触发了事件,change,keyup, focusin都没起作用- -"}}