ȥå   Խ ʬ Хåå ź ʣ ̾ѹ   ñ측 ǽ   إ   ǽRSS

ˡ/HTML(XML)/Jade

Last-modified: 2015-11-28 () 01:11:13 (664d)
Top / ˡ / HTML(XML) / Jade

JadeѤHTMLXMLʷ˵ҤǤޤĿŪˤTitanium Mobileviewsեxmlե򵭽ҤȤˤ褯ѤƤޤWindowButtonLabelʤɤ֤Ȥ˻ѤեǤˡ

HTML(XML)JadeѴǤWebӥ

  • ϤȤΥǥȤϥ֤Ǥ⥹ڡǤOKǤ
  • ̤Ϥɤ⥹ڡĶڤȤʤޤ
  • HTML -> JadeǤϥ̾٤ƾʸѴޤ

Jadeˡ

XML

<!-- comment1 -->
<Alloy>
	<Window>
		<Label id="lbl" attr1="a1" attr2="a2" class="c1 c2">This is label.</Label>
		<!-- comment2 -->
	</Window>
</Alloy>

Jade

// comment1 
Alloy
	Window
		Label#lbl.c1.c2(attr1='a1', attr2='a2') This is label.
		// comment2 

ݥ

  • ǥȤѤĤϻѤޤ ... ǥȤ줵ƤХ֤Ǥ⥹ڡǤOK
  • id, classCSSƱͤεˡǤ
  • °ϥå˥޶ڤǵҤޤ
  • ǰϤ줿ƥȤϥʤɤ˥ڡ򶴤DZ¦˵ҤޤʰǰϤߤޤ
  • °ͤǰϤߤޤ ... id̾class̾ǰϤ줿ƥȤФư
  • ȤϺ¦˥֤Ĥޤ//դޤ ... ǥȤפʤΤǹƬ//դHTML(XML)ι¤ѤˤʤޤʤƤ򥳥ȥȤȡҤ¹ʤɤ⥳ȥȤޤ