'How can I use َ Angular ng-template as item template in vis-timeline Package?
I want to create timeline view in my project (Angular 9). I use the vis-timeline package for this purpose. I don't want to create HTML manually for item template, I want to use ng-template instead, but can not set ng-template as item template.
var options = {
editable: true, // true or false
template: (item, element, data) => { } // How set ng-template?
};
Here is my Stackblitz code:
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|