
Product
Rust Support Now in Beta
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
@nilavpatel/np-date-picker
Advanced tools
```` Custom date picker for Angular 8 (Timepicker also included). With Two way data binding. ```` ```` npm i @nilavpatel/np-date-picker ````
Custom date picker for Angular 8 (Timepicker also included).
With Two way data binding.
npm i @nilavpatel/np-date-picker
<np-date-picker [(selectedDate)]="birthDate" format="dd/MMM/yy" iconClass="fa fa-calendar"></np-date-picker>
1. selectedDate
two way date binding model.
2. format
pass date format as string, date will be shown in given format in text box.
default format is dd/MM/yyyy
3. iconClass
icon class css, to dispaly icon in button for datepicker.
4. defaultOpen
default open datepicker, user can not close this.(no textbox will be shown)
5. showTimePicker
Show time picker or not
6. minDate
no date will be shown less than min date
7. maxDate
no date will be show greater than max date
8. disabled
true/false - set component disabled
1. getSelectedDate();
get selected date
2. setSelectedDate(date: Date);
set date as selected
3. validate();
returns boolean, selected date is valid or not?
1. onChange
on change event binding
1. import NpDatePickerModule app.module.ts
FAQs
```` Custom date picker for Angular 8 (Timepicker also included). With Two way data binding. ```` ```` npm i @nilavpatel/np-date-picker ````
The npm package @nilavpatel/np-date-picker receives a total of 0 weekly downloads. As such, @nilavpatel/np-date-picker popularity was classified as not popular.
We found that @nilavpatel/np-date-picker 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.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.