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

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -