Esempio n. 1
0
 def build(self):
     return Tag.div("hello",self.v,onclick=self.bind.onclick())
Esempio n. 2
0
 def build(self):
     return Tag.div( self.c, C())
Esempio n. 3
0
 def build(self):
     rows=[C(i) for i in self.ll]
     return Tag.div(*rows)
Esempio n. 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
Esempio n. 5
0
 def build(self):
     return Tag.div("hello", self.main.a, self.parent.v)
Esempio n. 6
0
 def build(self):
     return Tag.div(ShareState(), )
Esempio n. 7
0
 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()))
Esempio n. 8
0
 def build(self):
     self("alert(2)")
     return Tag.div(
         self.cpt,
         Tag.button("++",onclick=self.bind.add())
     )