摘要:
1 以使用ActionSheet为例子,虽然ionic已经有类似的directive,但是试一下ngcordova的也不防2 download ionic seed 熟悉使用nodejs的朋友,可以使用nodejs工具去下载1 sudo npm install -g cordova ionic2 新... 阅读全文
摘要:
https://github.com/Jackey-Sparrow/Angular2-Contact-App 阅读全文
摘要:
1 Index.html -->2 cal.js/** * Created by Jackey Li on 2015/7/26. */import {Hello} from './profile.js';class Calc { constructor(){ thi... 阅读全文
摘要:
1 内联样式/** * Created by Administrator on 2015/7/23. */import {Component, View, NgIf} from 'angular2/angular2';@Component({ selector: 'ng-test', p... 阅读全文
摘要:
1 normal component/** * Created by Administrator on 2015/7/23. */import {Component, View} from 'angular2/angular2';@Component({ selector: 'ng-test'... 阅读全文
摘要:
1 import Routerimport {RouteConfig, RouterOutlet, RouterLink, routerInjectables} from 'angular2/router';2 setting your RouteConfig@RouteConfig([ {p... 阅读全文
摘要:
1 import http and Injectimport {httpInjectables, Http} from 'angular2/http';import {Inject} from 'angular2/di'; 2 init your Http and use itclass App ... 阅读全文
摘要:
TypeScriptSetUp1useTypeScriptcmdonWebStrom1.1downloadtypeScriptpackageusing'npminstall-gtypescript'1.2configuretheconfigurationinwebStrom2addatsfilean... 阅读全文
摘要:
1 register your account athttps://apps.ionic.io/apps2 use cmd command to upload you app3 use your phone to AppStore, download IonicView and login, you... 阅读全文
摘要:
1 basic usage1 import formDirectivesimport {formDirectives} from 'angular2/forms';2 inject directive into Viewdirectives: [formDirectives]3 config you... 阅读全文