Automatically trigger an event when a transition ends. Users may create a method named `transitionEnd` to include custom logic.