AngularJS ng-non-bindable 指令
AngularJS 教程
· 2019-04-01 22:36:36
AngularJS 实例
以下段落不需要使用 AngularJS 来编译:
<div ng-app="">
<p ng-non-bindable>这个代码不需要使用 AngularJS: {{ 5+5 }}</p>
...
</div>
<p ng-non-bindable>这个代码不需要使用 AngularJS: {{ 5+5 }}</p>
...
</div>
定义和用法
ng-non-bindable 指令用于告诉 AngularJS 当前的 HTML 元素或其子元素不需要编译。
语法
<element ng-non-bindable></element>
所有的 HTML 元素支持该指令。
参数值
没有参数值。
点击查看所有 AngularJS 教程 文章: https://codercto.com/courses/l/36.html
JavaScript and Ajax for the Web, Sixth Edition
Tom Negrino、Dori Smith / Peachpit Press / August 28, 2006 / $24.99
Book Description Need to learn JavaScript fast? This best-selling reference’s visual format and step-by-step, task-based instructions will have you up and running with JavaScript in no time. In thi......一起来看看 《JavaScript and Ajax for the Web, Sixth Edition》 这本书的介绍吧!