Creates a new TextViewModel instance and registers event listeners.
The Redux store for state management
Service for managing text formatting and updates
Service for handling notification messages
Service for managing autoplay functionality
Gets the current text state.
The current TextState
Disposes the view model and resets text state.
Toggles the text display feature on or off.
Updates the displayed text with formatted content.
The text or plot state to display
Displays a notification message to the user.
The message to display
Sets whether text should be announced by screen readers.
Whether to enable text announcements
ViewModel for managing text display, announcements, and notifications.