Title: How to use Timer in Smartface App Studio
Tags: smartface.io
Question: I want to use Timer in my app with interval of 3secs. How to use this component. I gone through SmartfaceTimerDoc But, didn't get complete info.
Can any one help on this.
Thanks in Advance


Here is another answer: Below is the example which initiate the function after 3 sec
var timeoutID;
function setHello() {
timeoutID = setTimeout(function () {
alert("Hello");
}, 3000);
function cancelHello() {
clearTimeout(timeoutID);
Comment for this answer: In Smartface timer object is no more in use as it was defined in release notes.
(http://www.smartface.io/release-notes/4-4-0/)
You should use it as Alex defined.
Comment for this answer: Thanks Alex. I tried with this which is working fine earlier. But, i want to use Timer control. Where exactly we can use that?

{'source': 'StackExchangeDataset', 'subset': 'stackoverflow.com', 'metadata': {'AnswerCount': 1, 'CommentCount': 0, 'ContentLicense': 'CC BY-SA 3.0', 'CreationDate': '2015:00:09/23/15', 'FavoriteCount': None, 'PostTypeId': 1, 'Tags': '<smartface.io>', 'Title': 'How to use Timer in Smartface App Studio', 'ViewCount': 58, 'id': 32740914, 'user_AboutMe': '<p>Senior Software Engineer at <a href="http://www.zen3.com/" rel="nofollow">Zen3 Infosolutions</a>.\nHaving 7+ Years of experience in software development. </p>\n\n<p>During my career, i gone through many technologies like, VB6.0, DOTNET(VB, C#, ASP, MVC...), JQuery, Javascript, CSS, HTML, etc.,</p>\n\n<p>Also having knowledge on Mobile app development with XCode, Smartface.</p>\n\n<p>Interested in upgrading with the technology and at the same time having lots of challenging and fun at work. </p>\n\n<p>Lets Help and get Help, Lets share and Get shared. :) \n-- Vijay</p>\n', 'user_AccountId': 6710505.0, 'user_DisplayName': 'Vijay Prakash Desetty', 'user_Reputation': 55.0, 'user_Views': 44.0, 'user_id': 5174103.0}}