Streaming live at 10am (PST)

Resume and pause typed animation when focused in search field

Several community members have shared typed.js for using type animation in their projects in webflow.
But my problem is that I want typed animation in the search field’s placeholder which will be paused when focusing on the search input and the animation will again resume when I focus outside of the search input.
Is it possible to make? Can anyone give me the clue?
Thanks in advance.