Timer features are also aviable as a Javascript API. You can start, stop and pause the timer. When stopping
the timer you can set the 'silent' attribute to true to skip the JSF listener.
${showcase:getFileContent('/sections/timer/example-jsapi.xhtml')}
${showcase:getFileContent('/org/primefaces/extensions/showcase/controller/timer/JsApiTimerController.java')}