<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[토스프론트 플러그인 타이머 (startTimer)템플릿의 stop기능이 있나요?]]></title><description><![CDATA[<h3>어떤 제품을 사용하나요?</h3>
<ul>
<li>제품: 프론트 플러그인</li>
<li>SDK 또는 API 버전: SDK</li>
<li>환경: 개발</li>
</ul>
<h3>무엇이 궁금한가요?</h3>
<p dir="auto">플러그인의 특정 화면에서 일정 시간 입력이 없으면 메인 화면으로 이동하거나 뒤 화면으로 이동시키고자 startTimer템플릿을 사용하는데 다른 터치나 입력이 있으면 타이머를 초기화 시켜 화면을 계속 유지 시키려는 의도 입니다.  stop 후 start시키는 방법이 있을까요?</p>
]]></description><link>https://forum.tossplace.com/topic/30/토스프론트-플러그인-타이머-starttimer-템플릿의-stop기능이-있나요</link><generator>RSS for Node</generator><lastBuildDate>Sat, 07 Nov 2026 16:36:05 GMT</lastBuildDate><atom:link href="https://forum.tossplace.com/topic/30.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 02 Oct 2026 08:15:06 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to 토스프론트 플러그인 타이머 (startTimer)템플릿의 stop기능이 있나요? on Fri, 02 Oct 2026 10:01:12 GMT]]></title><description><![CDATA[<p dir="auto">안녕하세요. 토스플레이스 개발자센터입니다.</p>
<p dir="auto"><strong>startTimer를 호출할 때 반환되는 함수를 실행하면 타이머를 중지할 수 있습니다.</strong> 중지한 뒤 startTimer를 다시 호출하면 설정한 시간부터 새로 시작합니다.</p>
<p dir="auto">문의하신 흐름은 다음과 같이 구현해 주세요.</p>
<ol>
<li>startTimer를 호출하고, 반환된 중지 함수를 보관합니다.</li>
<li>사용자의 터치·입력 이벤트가 발생하면 보관한 함수를 실행해 기존 타이머를 중지합니다.</li>
<li>startTimer를 다시 호출하고, 새로 반환된 중지 함수로 교체합니다.</li>
</ol>
<p dir="auto"><strong>터치나 입력만으로 타이머가 자동 초기화되지는 않으므로, 해당 이벤트에 중지·재시작 처리를 연결해 주세요.</strong> 입력 템플릿에서는 input.onChange를 활용할 수 있습니다.</p>
<p dir="auto">기존 타이머가 실행 중인 상태에서 startTimer를 다시 호출하면 오류가 발생하므로 반드시 먼저 중지해 주세요. 화면을 벗어날 때도 타이머를 중지해 주세요. 중지 함수 실행만으로는 onTimeout이 호출되지 않습니다.</p>
<p dir="auto"><a href="https://docs.tossplace.com/reference/plugin-sdk/front/template.html#%ED%83%80%EC%9D%B4%EB%A8%B8-starttimer" rel="nofollow ugc">타이머 가이드</a></p>
]]></description><link>https://forum.tossplace.com/post/58</link><guid isPermaLink="true">https://forum.tossplace.com/post/58</guid><dc:creator><![CDATA[토스플레이스-개발자센터]]></dc:creator><pubDate>Fri, 02 Oct 2026 10:01:12 GMT</pubDate></item></channel></rss>