ember.js - How can I use the Array Mixin in Ember? -
ember.js - How can I use the Array Mixin in Ember? -
i'm trying understand how utilize ember.array. document says implement replace
, objectat
can't find info inputs expects , illustration helpful.
i'd utilize ember.arrayproxy
has methods implemented, , it's wouldn't implement them different did. or, can utilize reference point: https://github.com/emberjs/ember.js/blob/v1.5.0/packages/ember-runtime/lib/system/array_proxy.js#l221.
here's api signature if wanted anyway:
var mycoolarraytype = em.object.extend(em.array, { replace: function(idx, amt, objects){ }, objectat: function(idx){ } }
arrays ember.js
Comments
Post a Comment