UI

来自qingwei personal wiki
跳转至: 导航搜索

npm

npm list npm config set proxy http://server:port npm config set https-proxy http://server:port npm config set proxy http://64.103.36.133:8080 npm config set https-proxy https://64.103.36.133:8080 npm config set registry=http://registry.npmjs.org/ npm config set strict-ssl false npm config list

npm run lint

HTML

Tooltip

data-toggle="tooltip" data-placement="top" title=""

Angular2

angury Service Template assigned successfully https://v2.angular.io/docs/ts/latest/guide/template-syntax.html#!#property-binding https://segmentfault.com/a/1190000007187393 Data Binding from a component to an element

     1.Interpolation ( {{...}} )  ------  适用于string
     2.Property binding ( [property] )  ---------  适用于所有

from an element to a component

     1.Event binding ( (event) )

component to an element

       1.Two-way binding ( [(...)] )

Directive

* *ngFor tells Angular to stamp out one
  • per hero in the heroes list. * *ngIf includes the HeroDetail component only if a selected hero exists

    Atom

    [root@localhost Desktop]# yum install wget git -y [root@localhost Desktop]# wget https://github.com/atom/atom/releases/download/v1.18.0/atom.x86_64.rpm [root@localhost Desktop]# yum localinstall atom.x86_64.rpm -y [root@localhost Desktop]# atom

    安装插件 http://www.jianshu.com/p/dbc7f4952926

    atom-typescript