Magnet in actionslider

This code snippet demonstrates how to set a magnet in actionslider.