fire a [transition-name:end] event when a transition completes