by Yogesh | Feb 23, 2018 | Angular 4 Tutorial
For Bootstrap 3 installation npm install bootstrap –save For Bootstrap 4 installation npm install bootstrap@next –save Configure .angular-cli.json (Add reference of bootstrap css) “styles”: [...
by Yogesh | Feb 22, 2018 | angular material tutorial
Install Angular material and angular CDK – Provides more tools of angular material design Npm install –save @angular/material @angular/cdk To angular animation , we have to install angular animation module Npm install –save @angular/animations Add import {...
by Yogesh | Feb 22, 2018 | Type Script Tutorial
function getdata2(){ if (arguments.length > 0) { for (var i = 0; i < arguments.length; i++) { console.log(arguments[i]); } } } Call Call...
by Yogesh | Feb 22, 2018 | Type Script Tutorial
type script for loop //For Of Example var myfun = () => { var num: number[] = [2, 3, 10, 19] for (var item of num) { console.log(item); } } function getdata(): any { alert('hello'); } function getdata1(a: string, b: string, c: string='pratap nagar'): any {...
by Yogesh | Feb 22, 2018 | Type Script Tutorial
Type Script Array Example var myfun = () => { var num: number[] = [2, 3, 10, 19] for (var i = 0; i < num.length; i++) { console.log(num[i]) } }