Example #1
0
 def build(self):
     return Tag.div(self.cpt, Btn(self.cpt), XSelect(self.v, list("123")),
                    Checkbox(self.cb, "yoo"), self.cb,
                    Tag.button("EXIT", onclick=self.bind.exxx()))
Example #2
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
Example #3
0
 def build(self):
     return Tag.div(self.v,
                    Tag.button("++", onclick=self.bind.add()),
                    style="border:2px solid red")
Example #4
0
 def build(self):
     self("alert(2)")
     return Tag.div(
         self.cpt,
         Tag.button("++",onclick=self.bind.add())
     )