Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@salimzakari/ngx-time-picker

Package Overview
Dependencies
Maintainers
0
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@salimzakari/ngx-time-picker

An angular time picker component that allows user to select time.

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
125
Maintainers
0
Weekly downloads
 
Created
Source

NgxTimePicker

A time picker component for your angular application.

Dependencies

  • Angular

Features

  • Select time from a dropdown
  • Supports Reactive Forms
  • Supports Template-Driven Forms
  • Customizable styles

Demo

Demo Application

Example

ngx-time-picker example

Installation

Install ngx-time-picker via.

npm i @salimzakari/ngx-time-picker

Once installed you need to import our main module in your application module or in your component for example:

import { NgxTimePickerModule } from "@salimzakari/ngx-time-picker";

@NgModule({
  declarations: [AppComponent],
  imports: [NgxTimePickerModule],
  bootstrap: [AppComponent],
})
export class AppModule {}

Usage

ngx-time-picker with form control: Pass in formControlName like you would in any reactive form input.

<form [formGroup]="form">
  <ngx-time-picker formControlName="startTime"> </ngx-time-picker>
</form>

ngx-time-picker with NgModel.

<ngx-time-picker [(ngModel)]="time"></ngx-time-picker>

ngx-time-picker with custom class for dropdown, input and selected class.

<ngx-time-picker [(ngModel)]="customTime" inputClass="input" dropdownClass="dropdown" selectedClass="selected"></ngx-time-picker>

Keywords

FAQs

Package last updated on 11 Dec 2024

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc