“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…”)
 
 
第1行: 第1行:
=== npm ===
+
== npm ==
 
npm list
 
npm list
 
npm config set proxy http://server:port
 
npm config set proxy http://server:port
第10行: 第10行:
  
 
npm run lint
 
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 <li> 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

2018年1月15日 (一) 07:13的最新版本

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