实习生2文档提供了以下在加载测试页面后等待条件为真的示例:
this.remote
.get(require.toUrl('./SomeTest.html'))
.then(pollUntil('return window.ready;', 5000));
Run Code Online (Sandbox Code Playgroud)
不幸的是,它没有解释如何加载pollUntil助手以便在前面的例子中使用它...有没有人有一个使用pollUntil的完整工作示例?
谢谢你的帮助.
intern ×1