How to change the color of the
connectors in p-timeline in prime ng angular.
In prime ng documentation they have just provided the template for content,markers and opposite.
I want to dynamically change the connector color through ts file.
New contributor
vanishree kinnal is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
3
You can change the color by changing the style deep like :
:host ::ng-deep .p-timeline-event-connector{
background-color: red !important;
}