Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
ng-pick-daterange
Advanced tools
Readme
Angular date range picker - Angular reusable UI component
Simple Angular date range picker. Online demo is here. This picker is responsive design, so feel free to try it in your desktops, tablets and mobile devices. This picker uses javascript library date-fns
To install this component, follow the procedure:
npm install ng-pick-daterange --save
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { MyTestApp } from './my-test-app';
import { DateRangePickerModule } from 'ng-pick-daterange';
@NgModule({
imports: [ BrowserModule, DateRangePickerModule ],
declarations: [ MyTestApp ],
bootstrap: [ MyTestApp ]
})
export class MyTestAppModule {}
(function (global) {
System.config({
paths: {
'npm:': 'node_modules/'
},
map: {
// Other components are here...
'ng-pick-daterange': 'npm:ng-pick-daterange',
},
packages: {
// Other components are here...
// the picker
'ng-pick-daterange': {
main: 'index.js',
defaultExtension: 'js'
},
}
});
})(this);
Use the following snippet inside your template. For example:
<app-date-range [(dateRange)]="dateRange"></app-date-range>
Or:
<app-date-range [dateRange]="dateRange" (dateRangeChange)="setReturnValue($event)"></app-date-range>
public setReturnValue(dateRange: IDateRange): any {
this.dateRange = dateRange;
// Do whatever you want to the return object 'dateRange'
}
Online demo is here
FAQs
Angular Date Range Picker Component
The npm package ng-pick-daterange receives a total of 36 weekly downloads. As such, ng-pick-daterange popularity was classified as not popular.
We found that ng-pick-daterange 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.