Bootstrap's tooltip not working with knockout bindings? (w fiddle)

前端 未结 4 1185
醉梦人生
醉梦人生 2020-12-29 03:59

Fiddle: http://jsfiddle.net/LkqTU/9399/

Code:

var ViewModel = function (first, last) {
    var self = this;
    self.showIcon = ko.observable(false)         


        
4条回答
  •  旧时难觅i
    2020-12-29 04:42

    Addendum to @RP Niemeyer's answer...

    On github there is a small project called Knockout-Bootstrap for making "rich two way interactions with Bootstrap and Knockout bindings".

    Below is a fork of your fiddle that includes Knockout-Bootstrap.

    http://jsfiddle.net/qZkXP/

    
    

提交回复
热议问题