码迷,mamicode.com
首页 >  
搜索关键字:xpages repeat    ( 2431个结果
angularJS 指令scope作用域
http://www.angularjs.cn/A09C以下方式会创建新的子作用域,并且进行原型继承:ng-repeat、ng-include、ng-switch、ng-view、ng-controller, 用scope: true和transclude: true创建directive。以下方式...
分类:Web程序   时间:2015-11-04 22:45:07    阅读次数:221
repeat value vector in matlab
[1 1 1 2 2 2 3 3 3]http://stackoverflow.com/questions/1947889/element-wise-array-replication-in-matlabhttp://stackoverflow.com/questions/4918763/popul...
分类:其他好文   时间:2015-11-04 19:15:50    阅读次数:113
Jquery点击返回顶部
返回顶部 css样式: .goToTop a { color: #666;}.goToTop { background: url(../Scripts/top.png) no-repeat; display: none; position: fixed; top: 50%; ma...
分类:Web程序   时间:2015-11-04 12:49:57    阅读次数:254
Play-Scala开发技巧 - 带索引遍历Form(arrayProperty)
Play提供了Form、Field等表单类型,帮助开发者节省了很多表单处理方面的负担,但是有些功能目前不是很灵活,正如本文即将讨论的@helper.repeat函数,该函数目前无法让开发者直接访问元素索引,本文介绍两种...
分类:其他好文   时间:2015-10-31 17:16:15    阅读次数:179
ionic 列表
学习要点:1.ion-listion-item2.ion-listion-item成员3.collection-repeat:高性能的ng-repeat4.脚本接口:$ionicListDelegate1.列表:ion-list列表是常用的信息组织方式。在ionic中,使用ion-list指令声明列表元素,使用ion-item指令声明成员元素:<ion-list><ion-item&..
分类:其他好文   时间:2015-10-30 19:04:26    阅读次数:3135
设置ng-repeat循环 显示 条数
<ion-list> ????<ion-item?ng-repeat="item?in?items?|?limitTo:num"> {{item}} ????????<ion-option-button?class="button-calm?icon?ion-edit"></ion-option-button> ????????<io...
分类:其他好文   时间:2015-10-30 15:42:08    阅读次数:194
angular destroy & jquery destroy
destroy的目的是为了内存溢漏,这对性能会造成影响。angular scope在处理element 移除时,会触发destroy, 而调用逻辑和jquery使用的一样。在ck editor 中遇到一件事可以让自己参考ck editor 有自己的destroy event,在ng-repeat 中...
分类:Web程序   时间:2015-10-28 19:23:40    阅读次数:195
AngularJS创建新指令
指令(Directives)是所有AngularJS应用最重要的部分。尽管AngularJS已经提供了非常丰富的指令,但还是经常需要创建应用特定的指令。AngularJS原有的指令ng-init 初始化指令ng-if 条件指定ng-repeat 循环指令下面为大家介绍下创建新指令的方法加入html代...
分类:Web程序   时间:2015-10-26 12:06:40    阅读次数:212
[Angular 2] ngFor
It’s conceptually the same as Angular 1’s ng-repeat, but you’ll find the syntax quite different as it aligns with #refs in Angular 2 and JavaScript “f...
分类:其他好文   时间:2015-10-26 06:58:44    阅读次数:531
DRY原则
DRY——Don't Repeat Yourself Principle,直译为“不要重复自己”原则 DRY简而言之,就是不要写重复的代码。原则本身很简单,但是,对于OOAD(面向对象的分析和设计)来说,有着非常重大的意义。 DRY利用的方法就是抽象:把共同的事物抽象出来,把代码抽取到一个地方去。这...
分类:其他好文   时间:2015-10-25 10:44:11    阅读次数:347
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!