I want to show a banner for 5 second and then hide it using setTimeout() in Sencha Touch
Asked
Active
Viewed 1,841 times
0
-
What code have you tried already? What problems are you having with that code? – pete the pagan-gerbil Nov 03 '15 at 12:41
-
Luckily I got the solution. – Mitul Verma Nov 03 '15 at 12:44
-
If you came up with this answer, please write it up as an answer in the answers section (not as part of the question) and mark it correct. – CD.. Nov 03 '15 at 13:59
-
Possible duplicate of [How can I pass a parameter to a setTimeout() callback?](http://stackoverflow.com/questions/1190642/how-can-i-pass-a-parameter-to-a-settimeout-callback) – Mitul Verma Jan 20 '16 at 07:06
1 Answers
1
Ext.Function.defer(function () {
alert('Anonymous');
}, 5000);

Alex Tartan
- 6,736
- 10
- 34
- 45

Mitul Verma
- 237
- 1
- 15