I want to use 3rd party ui elements/components in my angular2 app like e.g. spin.js. To use this library I would have to directly access the DOM which is not really the way it should be done in angular2 (for several reasons like for example server-side rendering):
var target = document.getElementById('foo') var spinner = new Spinner(opts).spin(target); Is there any advice on how to deal with such 3rd party libraries in angular2? Or is direct DOM manipulation the only way for now?