ndj

ng2-datetimepicker-jalali

datetimepicker jalali for angular 2

Showing:

Popularity

Downloads/wk

5

GitHub Stars

8

Maintenance

Last Commit

4yrs ago

Contributors

1

Package

Dependencies

0

Size (min+gzip)

4.1KB

License

MIT

Type Definitions

Built-In

Tree-Shakeable

Yes?

Categories

Readme

ng2-datetimepicker-jalali

persian date time picker, jalali for angular 2

تقویم فارسی برای انگولار 2 نمایش تارخ و ساعت

Demo

coming soon

آموزش فارسی

به زودی

Installation

To install this library, run:

$ npm install ng2-datetimepicker-jalali --save

Consuming your library

Once you have published your library to npm, you can import your library in any Angular application by running:

$ npm install ng2-datetimepicker-jalali

and then from your Angular AppModule:

import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';

import { AppComponent } from './app.component';

// Import library
import { DateTimePickerModule } from 'ng2-datetimepicker-jalali';

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,

    // Specify library as an import
    DateTimePickerModule
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }

edit css styles.css

/*styles.css*/
@import '~bootstrap/dist/css/bootstrap.min.css';

you can use ng2-datetimepicker components, in your Angular application:

<!-- You can now use your library component in app.component.html -->
<h1>
  {{title}}
</h1>
<ng2-datetimepicker></sampleComponent>

Development

To generate all *.js, *.d.ts and *.metadata.json files:

$ npm run build

To lint all *.ts files:

$ npm run lint

License

MIT © Sajad Mehrabi

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100