你正在訪問的內容是外部程式的映像位址,僅用於使用者加速訪問,本站無法保證其可靠性。當前的連結位址(單點即可複製)為 https://greasyfork.org.cn/zh-CN/scripts/24819-jquery-simulate,源站連結 點此以跳轉。
Simulate events to help unit test user interactions
此脚本不应直接安装。它是供其他脚本使用的外部库,要使用该库请加入元指令 // @require https://update.greasyfork.org.cn/scripts/24819/157606/jquery-simulate.js
GitHub repo: https://github.com/jquery/jquery-simulate
Simulate events to help unit test user interactions.
jquery-simulate is in use by projects of the jQuery Foundation, but isn't under active development. Usually issues are addressed by members of the jQuery UI team when they're affected, while other pull requests linger and get stale. We hesitate to put more time into this project, since its future is unclear.
Specifically we're hoping for the WebDriver API to become a much better solution. We're currently experimenting with that, via Intern on PEP).
That said, this project is stable and should work fine. Just keep the above in mind before using it.
If you don't yet have grunt installed:
npm install -g grunt-cli
Then:
npm install
grunt
Open the test/index.html in a browser.