disable

open fun disable()

Disable Litho animations. This might be useful for cases where within a test method you can enable animations for certain actions, while disabling it for others all within single test method. Note that there is no need to disable on tear down of the test class as we make sure to turn animation back to its original value when every test method finishes.