Search code examples
angulardraw2d-js

Installation of draw2D touch on Angular2


how can I install the draw2d touch library on Angular 2 ? I do not find any news about it.

Thank you


Solution

  • You can put the library's files in the scripts section of your angular-cli.json. In your component you can write:

    declare var draw2d:any;