Created
December 17, 2016 03:27
-
-
Save jackyshan/c7cee86ce3b92c0a4255e313a2b83b82 to your computer and use it in GitHub Desktop.
官网购一键购链接弹出
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defineClass("YTPlatWebsiteDetailViewController", { | |
//instance method definitions | |
webViewDidStartLoad: function(webView) { | |
self.progressView().setProgress_animated(0.9, true) | |
self.buyBtn().setSelected(true) | |
}, | |
webViewDidFinishLoad: function(webView) { | |
self.progressView().setProgress_animated(1.0, true) | |
self.buyBtn().setSelected(true) | |
} | |
}, {}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment