So we can create a Hammer object and set change its options like this:
let mc = new Hammer(element);
mc.get('pan').set({ direction: Hammer.DIRECTION_NONE });
How can we set the options with the constructor?
This did not work:
let mc = new Hammer(element, [{'event' : 'pan', 'direction' : Hammer.DIRECTION_NONE}]);