@unilog/date-picker
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

DatePicker


DatePicker is a library developed by Unilog, Tunisie

Installation

You can install the library using this command :

npm i @unilog/date-picker

Usage

Importing the library module

In order to use a component from the library we need to add the library’s module to our App Module. To do this we make two changes in: src\app\app.module.ts

  • Import the DatePickerModule

  • Add the DatePickerModule to the imports array in our AppModule

Actually using our library

Add the template of datePicker to your html

<unilog-date-picker  [label]="'Date'" [style]="{'width':'100%'}" [(date)]="date">                 
</unilog-date-picker>

where date is the ngModel variable

API


Inputs

Input Type Required Description
label string no label to show at the datePicker
appearance string no specify the appearance of the datePicker
style string no contain the style of the datePicker
name string no contain the name of the datePicker

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @unilog/date-picker

    Weekly Downloads

    0

    Version

    0.0.2

    License

    MIT

    Unpacked Size

    31.5 kB

    Total Files

    17

    Last publish

    Collaborators

    • abbomar