Patent attributes
A container for accommodating an electronic device cable includes a main base, a top cover, a winder rotatably connected to the main base, and a locking mechanism received in the winder. The top cover is placed on the main base, and defines an accommodating space in cooperation with the main base. The winder is received in the accommodating space, and includes a spring for providing a rotary force to the winder when the spring is twisted. The locking mechanism is received in the winder and configured for detachably fastening the winder to the top cover. When the cable is pulled away from the winder, the locking mechanism of the winder detaches from the top cover to allow unwinding of the cable to a desired length. Then when the transmission arm is pushed, the locking mechanism is driven away from the top cover whereupon the winder automatically rewinds the cable.