Socket
Socket
Sign inDemoInstall

@next-level-integration/nli-datefield-lib

Package Overview
Dependencies
10
Maintainers
6
Versions
184
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @next-level-integration/nli-datefield-lib

Datefield component


Version published
Maintainers
6
Created

Readme

Source

NLIDateField

The general structure of this component:

  <nli-datefield [configs]="options" 
				 label="Date" 
				 [selectedDate]="date"></nli-datefield>

configs: 
public options:any = {
	currentDate:{year:new Date().getFullYear(), month:new Date().getMonth(), day:new Date().getDate()},
	displayTime:false, //implemented not yet
	displayTimeWithSeconds:false // implemented not yet
};

Setup Steps:

  1. Add dependency in package.json under dependencies object: "@sdtyn/nli-datefield": "0.0.1"

  2. Run npm install in project folder (The home folder that package.json exists): npm install This command downloads all dependencies including @sdtyn/nli-datefield. You can also download just this module with: npm install @sdtyn/nli-datefield

  3. Import input module to your project. In your main module (or module that you want use this component) that its default name is app.module.ts, import it:

     import { NLIDateFieldModule } from '@sdtyn/nli-datefield/datefield.module';
     ...
     @NgModule({
       ...
       imports: [
         ...
         NLIDateFieldModule
        ]
        ...
     });
    

Usage example:

        <div style="width:100%; height:100%;">
<nli-datefield [configs]="options" label="Datum" [selectedDate]="tomorrow"></nli-datefield>

Development page:

Github Repository

Keywords

FAQs

Last updated on 10 Apr 2018

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc