Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
ngx-datetime-picker
Advanced tools
Date, DateTime & Time Picker components that uses native HTML5 components on mobile
import { DateTimePickerModule} from 'ngx-datetime-picker';
@NgModule({
imports: [
DateTimePickerModule
],
<ngx-datetime-picker [(selectedDateTime)]="dateTimeExample"></ngx-datetime-picker>
<ngx-date-picker [(selectedDate)]="dateExample"></ngx-date-picker>
<ngx-time-picker [(selectedTime)]="timeExample"></ngx-time-picker>
Copy the ngx-datetime-picker css to your project.
If you are using angular-cli the css can be added to your angular-cli.json
"styles": [
"../node_modules/ngx-datetime-picker/ngx-datetimepicker/src/assets/ngx-datetime-picker.css"
]
Sass files avaliable for quick customization. Override the defaults, compile, and include them in your project.
Clone repository to your machine.
Run npm run setup
to prepare the project
Live edit mode with npm run serve
.
Run tests with watcher with npm run test
.
Run tests without a watcher with npm run test.once
.
Prepare for distrabution with npm run dist
(note you man need to also run tsc index.ts
if you have updated the exported values.)
Test a demo project using the exported ngModule with npm run demo
Sass files are compiled locally using Koala.
Set Koala to watch date.component.scss
and compile it to ngx-datetimepicker > src > assets
as ngx-datetime-picker.css
.
Optionally you can use https://github.com/angular-buch/angular-cli-ghpages to publish the demo install to github pages. by first running npm run demo
, then by going into your demo directory with cd demo
and from there you can copy and past the two commands to publish to github pages.
ng build --prod --aot --base-href "https://renovosolutions.github.io/ngx-datetimepicker/"
then
ngh --repo=https://github.com/renovosolutions/ngx-datetimepicker.git
note this will publish to the gh-pages
branch and you wil need to authenicate again
Josh Sommer | Brent Miller | Steven Farage |
FAQs
Date, DateTime & Time Picker components that uses native HTML5 components on mobile
We found that ngx-datetime-picker demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers 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
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.