nishtahir / gwt-pectin

Automatically exported from code.google.com/p/gwt-pectin
0 stars 0 forks source link

StyleBinder needs to support the use of dependent style names #20

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Currently style binder just calls widget.addStyleName/removeStyleName.

It needs to be updated so styles can be added as style dependent names.

// possibly something like...
styleBinder.style(widget)
  .withDependant(css.someStyle())
  .when(someCondition);

Original issue reported on code.google.com by andrew.pietsch on 5 May 2010 at 6:25

GoogleCodeExporter commented 8 years ago
Fixed in 0.8

Original comment by andrew.pietsch on 9 Jun 2010 at 2:34