예제 #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()))
예제 #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
예제 #3
0
 def build(self):
     return Tag.div(self.v,
                    Tag.button("++", onclick=self.bind.add()),
                    style="border:2px solid red")
예제 #4
0
 def build(self):
     self("alert(2)")
     return Tag.div(
         self.cpt,
         Tag.button("++",onclick=self.bind.add())
     )