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

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

Package Overview
Dependencies
Maintainers
6
Versions
184
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Datefield component

  • 0.0.2
  • npm
  • Socket score

Version published
Weekly downloads
9
Maintainers
6
Weekly downloads
 
Created
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>

Keywords

FAQs

Package last updated on 10 Apr 2018

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