Skip to content

airframe-rx-html: Support refreshing DOM elements when attribute value is updated via RxVar #1341

@xerial

Description

@xerial
val color = Rx.variable("white")
div(
  style -> color.map { x => s"color: ${x};" }  // This needs to be updated when color variable is changed
  "message"
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions