使用jQuery迷你Angular.js [英] Angular.js with jQuery Sparklines

查看:93
本文介绍了使用jQuery迷你Angular.js的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

noob问题:我想出来的新Angular.js框架,但似乎无法让我的迷你显示在我的谐音。我想绘制的阵列做显示器的文本。

Noob question: I'm trying out the new Angular.js framework but can't seem to get my sparklines to display on my partials. The arrays I want graphed do display in text.

这似乎是与当时迷你称为页和串负荷的问题。我打电话jQuery的迷你的<头方式>

It seems to be a problem with when the string loads on the page and when Sparklines are called. I'm calling the jQuery sparklines in the <head>.

我如何获得这些在显示NG-重复?

How do I get these to display in an ng-repeat?

推荐答案

从AngularUI项目退房JQuery的包装:

Check out the JQuery wrapper from the AngularUI project:

https://github.com/angular-ui/angular-ui/blob/master/modules/directives/jq/jq.js

问题是与改变DOM没有提醒AngularJS的变化插件。

The issue is with plugins that change the DOM without alerting AngularJS to the change.

这篇关于使用jQuery迷你Angular.js的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆