ember-cli-array-offset
Ember CLI array offset addon.
ember-cli-array-offset
exposes an Ember ArrayProxy subclass
which returns only the content array items after a certain offset.
Example
;; var arr = Ember;var proxy = ArrayOffset; console; // ['d', 'e', 'f']proxy;console; // ['e', 'f']arr;console; // ['e', 'f', 'g']
Properties
content
: Ember.Array (optional, default = null
)
The content array. Must be an object that implements Ember.Array
and/or
Ember.MutableArray
. See Ember.ArrayProxy#content
.
offset
: Number (optional, default = 0
)
This value determines the index of the first element to return.
Installing
With npm:
$ npm install --save-dev ember-cli-array-offset
Or with Ember CLI:
$ ember install ember-cli-array-offset