can knockout observe values, such jquery.active
, changed externally? want make loading animation when there active ajax call.
i don't think knockout able without watching jquery.active variable and/or adding many lines of code. seems far complicated display loading animation.
i recommend doing (show/hiding animation?) jquery.
another solution show/hide animation before , after each ajax request via ko.observable boolean, if doing lot of different ajax requests, different models, become mess.
Comments
Post a Comment