Within the component.html file of my Angular project, I have the following code snippet:
<li *ngFor="let activity of dto.activities | sortHistoryActivity; trackBy: trackByFn">
<span>
<a (click)="scrollToHistoryActivity(activity.firstTaskId, activity.firstActivityId)">{{activity.title}}</a>
</span>
<p class="timestamp">{{activity.startTime | date:"dd.MM.yyyy, HH:mm:ss"}}</p>
</li>
</ol>
I am looking to insert additional objects between specific <li>
elements without resetting the numbering sequence. These inserted objects should not have a number associated with them.
Please excuse any lack of clarity as this is my first question on here.
For an example image, please refer to the link below:
https://i.sstatic.net/gcFOD.png
To elaborate further: In this application, each action is listed with a corresponding number indicating its order of occurrence. My goal is to include certain HTML elements between two list items without affecting the numbering sequence (as illustrated in the provided image).