NeXTs / Clusterize.js

Tiny vanilla JS plugin to display large data sets easily
https://clusterize.js.org
MIT License
7.22k stars 414 forks source link

Possibility of using this with Angular 8 ? #169

Open timetraveller432 opened 5 years ago

timetraveller432 commented 5 years ago

I have been trying to integrate this with my Angular 8 App. Everything works as expected except for the case when I try to insert HTML with a custom component into the rows parameter.

As an example var data = ['<app-custom-component>…</app-custom-component>', '<app-custom-component>…</app-custom-component>', …]; var clusterize = new Clusterize({ rows: data, scrollId: 'scrollArea', contentId: 'contentArea' });

In this case,

I understand that this might be because of the way Angular compiles Apps but is there still any way of using custom components, instead of directly using the custom component template's HTML in the rows value?