
Security News
Researcher Exposes Zero-Day Clickjacking Vulnerabilities in Major Password Managers
Hacker Demonstrates How Easy It Is To Steal Data From Popular Password Managers
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 0 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
Hacker Demonstrates How Easy It Is To Steal Data From Popular Password Managers
Security News
Oxlint’s new preview brings type-aware linting powered by typescript-go, combining advanced TypeScript rules with native-speed performance.
Security News
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.