This library is a wrapper for hamemr js to usage in angular projects.
To use hammerjs event just set libTouchActions
directive to your element.
If you use server side rendering you need to install domino. And insert code below in you server script:
import { createWindow } from 'domino';
import { readFileSync } from 'fs';
...
const template = readFileSync(join(DIST_FOLDER, 'index.html')).toString();
const win = createWindow(template);
global['window'] = win;
global['document'] = win.document;