An electronic device has an anchor assembly is movably mounted inside the device housing. The anchor assembly has a magnet portion and a ferromagnetic portion, and has a magnetic field that is stronger proximate the magnet portion than the ferromagnetic portion. The anchor assembly rotates between first and second positions, with the magnet portion facing an edge of the device housing for forming a connection with another device, and with the magnet portion facing away from the edge of the housing, respectively. A biasing member biases the connector to the second position by magnetic attraction.