daily pastebin goal
59%
SHARE
TWEET

Untitled

a guest Nov 8th, 2018 89 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ng add ngx-bootstrap  --component datepicker
  2.    
  3. import { BsDatepickerModule } from 'ngx-bootstrap/datepicker';
  4.  
  5.  
  6. @NgModule({
  7.   imports: [BsDatepickerModule.forRoot(),...]
  8. })
  9. export class AppModule(){}
  10.    
  11. <input type="text" placeholder="Datepicker" class="form-control" bsDatepicker>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top