Summary
The new Joy-Cons use “magnetic suction” to attach to the console, “through electromagnetic suction technology, controlled by electric current” This sounds like electropermanent magnets, which have a strong magnetic field that can be switched on or off by a pulse of electric current.