Creates the TimerButtonComponent.
the timer service that is used to notify this component about the timer's current state.
The id for the related recipe.
True if showing a clickable button, otherwise plain text is shown instead
The slug for the related recipe
The time text inside the button which is set by updateTime
Data about the how long to set the timer.
the timer service that is used to notify this component about the timer's current state.
The title for the related recipe - to be shown on the TimerComponent.
Sets the time text on component creation
Updates the time text if there are changes
Takes the timerObj and converts it to readable text.
Generated using TypeDoc
creates a button to toggle the timer.