domingo, 8 de junio de 2014

xwidgets: xboolean

We are going to see how to make a widget (a boolean) that plays nicely with AutoForm. In this case it's a circle of color red (false) or green (true). Let's see the code, in first place the template:


And now the coffee file:

And you can see how to use from AutoForm:


- o - O - o -

I've been making changes to the code, so take a look at github.

No hay comentarios:

Publicar un comentario