Open fijackokresimir opened 4 years ago
same question. @fijackokresimir did you find anything about this ?
same question. @fijackokresimir did you find anything about this ? @YahyaRechaki i stopped working on that project 4 years ago, i have no idea if something happened in the meantime
for this purpose, there is a work around that you can implement is to create the template yourself, meaning you prepare the HTML code yourself (the squelette, div, span, p...) manage data management, if conditions, ngFor... (if applicable) in the ts file, and then you can apply style using the :host ::ng-deep directly to your added template. you can target your template by checking it's parent that is added to, for the visjs timeline item : the content is added under the div with class name vis-item-content.
Is there a way to pass angular template for template property in Timeline Options? Like in documentation: https://visjs.github.io/vis-timeline/docs/timeline/#Templates