Package

org.querki.gadgets

components

Permalink

package components

Visibility
  1. Public
  2. All

Type Members

  1. case class RxDiv(rxGuts: Rx[Seq[Gadget[_]]], base: scalatags.JsDom.all.Modifier*)(implicit ctx: Owner) extends Gadget[HTMLDivElement] with Product with Serializable

    Permalink

    A div whose contents can be updated reactively.

    A div whose contents can be updated reactively.

    TODO: the way that renderedDiv works here really ought to replace the rendered method in ManagedFrag. Indeed, I really should re-examine the way things work in this light, noting the relationship between doRender() and obs below.

  2. class RxTextFrag extends core.ManagedFrag[Text]

    Permalink

    A reactive text Modifier, which lets you place some Text into Scalatags, and have it change when the underlying Rx changes.

    A reactive text Modifier, which lets you place some Text into Scalatags, and have it change when the underlying Rx changes. It does this by setting the .text() jQuery property of the parent node.

    Note that this requires an Rx[String] specifically, to keep things simple. Use rx.ops.map to turn other types into Strings.

Value Members

  1. object RxDiv extends Serializable

    Permalink

Ungrouped