You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

ng-met-antd

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ng-met-antd

1.3.0
latest
Source
npmnpm
Version published
Weekly downloads
16
300%
Maintainers
1
Weekly downloads
 
Created
Source

NG-MET-ANTD
Jalali Date Adapter

Angular DatePicker component library based on Ant Design.

npm package extension-for-VSCode code style: prettier

Demo

View DatePickerJalali in action at Stackblitz Demo

jalali-date-picker

🖥 Environment Support

  • Angular ^15.0.0 npm package
  • Server-side Rendering
  • Modern browsers including the following specific versions
  • Electron
IE / Edge
IE / Edge
Firefox
Firefox
Chrome
Chrome
Safari
Safari
Opera
Opera
Electron
Electron
Edgelast 2 versionslast 2 versionslast 2 versionslast 2 versionslast 2 versions

📦 Installation

We recommend using @angular/cli to install. It not only makes development easier, but also allows you to take advantage of the rich ecosystem of angular packages and tooling.

$ ng new PROJECT_NAME
$ cd PROJECT_NAME
$ ng add ng-zorro-antd

More information about @angular/cli here.

You can also install ng-zorro-antd with npm or yarn, Then install ng-met-antd/components with npm or yarn for Jalali

$ npm install ng-zorro-antd
$ npm install ng-met-antd

Provide custom DateAdapter

If you need to present another calendar like Jalali or Hijri, you can provide a custom NzDateAdapter which implements required methods to deal with native date object.

Example

import { NzDateAdapter } from 'ng-met-antd/core';

export class CustomDateAdapter extends NzDateAdapter<any> {
  // implementation of abstract methods
}

@NgModule({
  providers: [{ provide: NzDateAdapter, useClass: CustomDateAdapter }],
})
export class AppModule {}

Sample

Jalali-Moment date adapter

Keywords

antd

FAQs

Package last updated on 14 Jun 2023

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