Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
ng-timeline-vertical
Advanced tools
Inpired from : https://codepen.io/codyhouse/pen/FdkEf
Set of directive to display a vertical timeline on Angular.
Framwork | Version |
---|---|
Angular | 5+ |
Ionic | 3+ |
npm i --save ng-timeline-vertical
<ng-timeline-vertical>
<ng-timeline-item *ngFor="let item of timelineList"
title="{{item.label}}"
content="{{item.text}}"
date="{{item.date_created}}"
button="{{{title:'Read more', action: item.url}}}">
</ng-timeline-item>
</ng-timeline-vertical>
Name | Value | Mandatory | Comment |
---|---|---|---|
title | string | Yes | |
content | string | No | |
date | string | No | Date must be already formatted for display |
button | {title: string, action: any} | No |
In the case you want to send custom html content into an item, it is possible to transclude some content inside a timeline item.
Example :
<ng-timeline-vertical>
<ng-timeline-item
title="Racoon per country"
date="2012">
<table style="width:100%">
<tr>
<th>Country</th>
<th>Nb</th>
</tr>
<tr>
<td>USA</td>
<td>500 000</td>
</tr>
<tr>
<td>Canada</td>
<td>350 000</td>
</tr>
</table>
</ng-timeline-item>
</ng-timeline-vertical>
You can add as much transcluded content as you want in combination with the directive attributes.
The order of display is : Title, content, transclusion, button
FAQs
Inpired from : https://codepen.io/codyhouse/pen/FdkEf
The npm package ng-timeline-vertical receives a total of 5 weekly downloads. As such, ng-timeline-vertical popularity was classified as not popular.
We found that ng-timeline-vertical demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.