this hack is better: ``` div().bind(obs...
# kvision
r
this hack is better:
Copy code
div().bind(obs) {
                div("obs = $it")
                button("test").bind(obs2) { v ->
                    text = "test $v"
                    enableTooltip(TooltipOptions("tooltip <b>$v</b>", rich = true))
                    if (getElementJQuery() != null) {
                        getElementJQueryD().attr("data-original-title", "tooltip <b>$v</b>").tooltip()
                        val id = getElementJQuery()?.attr("aria-describedby")
                        jQuery("#$id").find(".tooltip-inner").html("tooltip <b>$v</b>")
                    }
                    onClick {
                        obs.value += 1
                    }
                }
                button("test 2").onClick {
                    obs2.value += 1
                }
            }