HasPauseToggle

Add this trait on a View to give it a pause toggle. You’ll still need to call togglePause on whichever event you want to pause the view (e.g., user hitting space bar).

class Object
trait Matchable
class Any
Controls[_]

Value members

Concrete methods

override def isPaused: Boolean

Determines whether the view should be paused at the current state.

Determines whether the view should be paused at the current state.

Definition Classes

Whether the view starts in a paused state. By default, always returns false.

Whether the view starts in a paused state. By default, always returns false.

Tells the view to pause if unpaused and vice versa.

Tells the view to pause if unpaused and vice versa.