ng-touch-actions-lib
TypeScript icon, indicating that this package has built-in type declarations

0.0.5 • Public • Published

NgTouchActionsLib

This library is a wrapper for hamemr js to usage in angular projects. To use hammerjs event just set libTouchActions directive to your element.

Server Side Rendering problem

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;

Readme

Keywords

none

Package Sidebar

Install

npm i ng-touch-actions-lib

Weekly Downloads

0

Version

0.0.5

License

none

Unpacked Size

246 kB

Total Files

35

Last publish

Collaborators

  • dimonishche