示例#1
0
 def build(self):
     return Tag.div("hello",self.v,onclick=self.bind.onclick())
示例#2
0
 def build(self):
     return Tag.div( self.c, C())
示例#3
0
 def build(self):
     rows=[C(i) for i in self.ll]
     return Tag.div(*rows)
示例#4
0
 def build(self):
     o=Tag.div( self.v,
         Tag.button("reload1",onclick=self.bind.evtReload()),
         Tag.button("reload2",onclick=self.bind.evtReload2()),
     )
     return o
示例#5
0
 def build(self):
     return Tag.div("hello", self.main.a, self.parent.v)
示例#6
0
 def build(self):
     return Tag.div(ShareState(), )
示例#7
0
文件: testApp.py 项目: manatlan/gtag
 def build(self):
     return VBox(HBox(InputText(self.txt), Text(self.txt)), MyInc(self.nb),
                 MyInc(self.nb), Box(self.nb,
                                     Tag.div(int(self.nb) * "тнР")),
                 Button("Show mbox", onclick=self.bind.aff()))
示例#8
0
 def build(self):
     self("alert(2)")
     return Tag.div(
         self.cpt,
         Tag.button("++",onclick=self.bind.add())
     )