Antwort was initially created for InterNations GmbH and released under the MIT License.
追è¨: ææã«ãããUIãªãã¸ã§ã¯ãåã追å ãã(thx @kanreisa)ã ã¯ã©ã¤ã¢ã³ããµã¤ãJavaScriptã§ã®ãã¥ã¼ã®ä½ãæ¹ã大å¥ããã¨ã3ã¤4ã¤ããã DOMæä½å ãã³ãã¬ã¼ãã¨ã³ã¸ã³å UIãªãã¸ã§ã¯ãå ãã¼ã¿ãã¤ã³ãã£ã³ã°å ããã§ãããã¥ã¼ã®ä½ãæ¹ã¨ã¯ãæãä½ã«ããã¨JavaScriptããã©ããã£ã¦DOMè¦ç´ ãçæããããããã©ãããã¤ãã³ããªã¹ãã¼ã®ç»é²ã¨ããå«ãã DOMæä½å æãªããã®ããæ¹ãjQueryã¨ã使ã£ã¦ç´æ¥DOMæä½ãã¦ãã¥ã¼ãä½ãã // ä¾ãã°ã<div class='hoge'>fugafuga</div> ã¿ãããªDOMã表示ãã var myView = $("<div class='hoge'/>"); myView.text('fugafuga'); // body以ä¸ã«æ¿å ¥ $(body).append(myView); é·æ
JsTemplateã¯GoogleãéçºããJavaScript製ã®ãã³ãã¬ã¼ãã¨ã³ã¸ã³ã§ãã Webã¢ããªã±ã¼ã·ã§ã³ãããã«éçºããã¦ããããã«å¿ è¦ãªã®ãé«æ©è½ãªJavaScriptãã³ãã¬ã¼ãã¨ã³ã¸ã³ã®åå¨ã§ããå¹¾ã¤ãåºã¦ãã¦ãã¾ããä»åç´¹ä»ããã®ã¯ããªãæåã§ãããªããªãGoogleãéçºãããã³ãã¬ã¼ãã¨ã³ã¸ã³ã ããã§ãããããJsTemplateã§ãã ãã¢ã§ããå·¦ä¸ããã³ãã¬ã¼ããå³ä¸ãJSONã®å ãã¼ã¿ã«ãªãã¾ãã ããã¦å·¦ä¸ãå®éã«çæãããHTMLã§ãå³ä¸ãã¬ã³ããªã³ã°çµæã«ãªãã¾ãã idã使ã£ã¦ãã³ãã¬ã¼ãåãå®ç¾©ãã¦ãã¾ãã ãããã風ã«ãã¼ã¿ããªãå ´åã®ãã§ãã¯ãã§ãã¾ãã å®éã®ã³ã¼ãã§ããjsdisplayã®ã¨ããã«æ¤è¨¼ãå ¥ã£ã¦ããã®ãåããã¾ãã ãã¼ã¿ãããå ´åã¯ãã¡ããç¹°ãè¿ã表示ãã¾ãã å®éã®ã³ã¼ãã§ãã JsTemplateã¯å帰å¦çãã§ãããev
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}