ember-cli-array-slice:Ember CLI阵列分片插件

时间:2021-05-15 00:06:49
【文件属性】:
文件名称:ember-cli-array-slice:Ember CLI阵列分片插件
文件大小:23KB
文件格式:ZIP
更新时间:2021-05-15 00:06:49
JavaScript ember-cli-array-slice Ember CLI阵列分片插件。 ember-cli-array-slice公开一个 子类,该子类代理给定内容数组的一个切片。 修改原始数组后,其值将更新。 例子 import ArraySlice from 'array-slice' ; var sliced = ArraySlice . create ( { content : [ 3 , 1 , 4 , 1 , 5 , 9 ] , offset : 2 , limit : 3 } ) ; console . log ( sliced . toArray ( ) ) ; // [4, 1, 5]; 特性 content :Ember.Array(可选,默认= [] ) 内容数组。 必须是实现Ember.Array和/或Ember.MutableArray的对象。 请参阅 。 o
【文件预览】:
ember-cli-array-slice-master
----.travis.yml(245B)
----.ember-cli(280B)
----testem.json(198B)
----ember-cli-build.js(526B)
----vendor()
--------.gitkeep(0B)
----addon()
--------index.js(67B)
--------array-slice.js(1KB)
----config()
--------ember-try.js(628B)
--------environment.js(111B)
----index.js(82B)
----.watchmanconfig(37B)
----package.json(1KB)
----.bowerrc(60B)
----tests()
--------test-helper.js(112B)
--------index.html(1017B)
--------unit()
--------dummy()
--------.jshintrc(1KB)
--------helpers()
----.npmignore(141B)
----LICENSE.md(1KB)
----.gitignore(247B)
----README.md(1KB)
----.jshintrc(485B)
----bower.json(393B)
----.editorconfig(504B)

网友评论