These are implicit constructors for RxAttr and RxStyle.
These are implicit constructors for RxAttr and RxStyle.
TODO: can we rewrite these to use context bounds instead of view bounds? I think it should be possible...
Mechanism for using an Rx as a Scalatags AttrValue.
Mechanism for using an Rx as a Scalatags AttrValue.
Note that this is used implicitly -- just import querki.display.rx._, and it will add the ability to use Rx-defined attribute values.
A handy typeclass for asking whether a reactive Gadget is "empty" or not.
A handy typeclass for asking whether a reactive Gadget is "empty" or not. The meaning of "empty" depends on the Gadget, obviously.
Use this by importing RxEmptyable._, and then you can use .rxEmpty on the appropriate Gadgets -- that returns an Rx[Boolean], suitable for using on, eg, the disabled attribute.