Turn on a Dime

What does the idiom “turn on a dime” mean?

Definition: quickly reverse direction or position

Example: After refusing to let me go out with my friends, my mother suddenly turned on a dime and said OK.