åç´ãªç¿»è¨³ãªããã³ãã¬ã¼ãã®è¨è¿°ãã·ã³ãã«ãï¼ã¿ã°ã« "translate" å±æ§ãä»ããã ãï¼ ç¿»è¨³è¾æ¸ãjsonè¨è¿°ã§ããã¹ãã«ã対å¿ãã¦ããçºããã¼ã¸ãã«ãã´ãªæ¯ã«åé¡ãã¦ç®¡çãã§ãããã ã¾ããåçãªè¨èªåæ¿ã«ã対å¿ãã¦ãããåãæ¿ãæ¹æ³ãã·ã³ãã«ãï¼ TranslateServiceã® useã¡ã½ãããå¼ã¶ã ã ï¼ ç¡çãããã¡ãªãããæããã¨ããããè¨èªãã¡ã¤ã«(json)ã®åãæ¿ããè¡ãéã«ãHTTPéä¿¡ãçºçããäºãããã ãã éä¿¡ãçºçããã®ã¯æåã®1åã®ã¿ãªã®ã§ãå ¨ãæ°ã«ãªããªãã(ãµã¤ãºã大ãããªãå ´åã®ç¢ºèªã¯å¿ è¦ãããããªããã) ng new my-app && cd my-app ng generate component header ng generate component top ng generate component page1 ng genera
å¹´æ«ã®ã¤ãã³ãã§ä½åº¦ã Angular 2 ã«ã¤ãã¦ç´¹ä»ããã¦ããã ããã®ã§ãããèªåã§è©±ããªããããããã£ã¦ããªããªã¨æãããã¨ããããæéãã§ããããã£ããç解ãããï¼ã¨æã£ã¦ãã¾ãããç解ããã«ã¯ã½ã¼ã¹ãèªããããªãï¼ã¨ãããã¨ã§ Angular 2 ã®ã½ã¼ã¹ãèªãã§ã¿ã¾ãã 使ãæ¹ã«ã¤ãã¦ã¯æ¬å®¶ããã¥ã¡ã³ããå§ããããããªã¨ããã«æ¸ããã¦ããã®ã§ãå é¨æ§é ã«ã¤ãã¦èª¿ã¹ã¾ããChange Detection, Dependency Injection å¨ã㯠@laco0416 ããã«ãã£ã¦ã«ãã¼ããã¦ãã/ãããäºå®ï¼12/23ï¼ãªã®ã§ãåæåã»Component ã®ã³ã³ãã¤ã«å¨ãã«ææ¦ãã¦ã¿ããã¨æãã¾ãã AngularConnect ã®ãã¼ãã¼ãã§ã¯ãAngular 1 ã§ã¯ã©ã³ã¿ã¤ã ã§ä½åº¦ã HTML ã®ã³ã³ãã¤ã«ãèµ°ã£ã¦ããããAngular 2 ã§ã¯åæåæã«ä¸åº¦èµ°ãã
ã¤ã³ã¿ã¼ãã§ã¼ã¹ãå®è£ ãã (ãã¶ãå¿ é ) ã«ã¼ãã£ã³ã°ã®é·ç§»æã«ããã¦ãéåæå¦çãæã¿ããã¯ã©ã¹ã«ãOnActivateã¨OnDeactivateã¤ã³ã¿ã¼ãã§ã¼ã¹ãæå®ãããã¨ãrouterOnActivate()ã¡ã½ããã¨routerOnDeactivate()ã¡ã½ããã®å®è£ ã義åä»ãããã¾ãããããã«ã¼ãã£ã³ã°æã®ã©ã¤ããµã¤ã¯ã«ã¤ãã³ãã¨ãªãã¾ãã import {OnActivate} from "angular2/router"; import {OnDeactivate} from "angular2/router"; import {ComponentInstruction} from "angular2/router"; class ã»ãã»ãããã implements OnActivate, OnDeactivate { /** é·ç§»ã§å ¥ã£ã¦ããã¨ã */ router
angular2ã®CHANGELOGãè¦ã¦ããã¨i18nã«ã¤ãã¦ãå®è£ ãé²ãã§ããããã§ãããä»æç¹ï¼2016å¹´5æ1æ¥12:00ç¾å¨ï¼ã§ã¯å ·ä½çãªä½¿ãæ¹ã示ãããã¥ã¡ã³ããã¾ã æä¾ããã¦ãããã使ãæ¹ãåããã¾ãããï¼ããããã¾ã 使ããªãã®ããããã¾ãããï¼ ããã§ãng2-translateã使ã£ã¦i18n対å¿ããµã¯ãã¨ãã¦ã¿ããã¨æãã¾ãã æ¬è¨äºã®angular2ã®version 2.0.0-beta.17 ng2-translateã®ã¤ã³ã¹ãã¼ã« angular2ã®ããã¸ã§ã¯ããã£ã¬ã¯ããªã§ npm install ãã¾ãã
Beautiful Angular Directives, automatically styled per platform Onsen UI for Angular exposes a simple but powerful API. All UI components can be easily plugged into your Angular mobile app. To see all of Onsen UI's Angular components, take a look at the Angular 2+ API. Or, you can quickly try out the showcase below - all of them actually work! Common core for AngularJS, Angular and other framework
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}