Skip to content

Ember.ObjectController and Ember.ArrayController extracted as an standalone addon

License

Notifications You must be signed in to change notification settings

cibernox/ember-proxy-controllers

Repository files navigation

Ember-proxy-controllers

Ember.ObjectController and Ember.ArrayController extracted as an standalone addon.

Installation

Run ember install ember-proxy-controllers and you're good to go

Usage

Import the classes from the addon and extend them as with the old Ember.ArrayController and Ember.ObjectController

// app/controllers/posts.js
import ArrayController from 'ember-proxy-controllers/array'

export default ArrayController.extend({
  // ...
})
// app/controllers/post.js
import ObjectController from 'ember-proxy-controllers/object'

export default ObjectController.extend({
  // ...
})

About

Ember.ObjectController and Ember.ArrayController extracted as an standalone addon

Resources

License

Stars

Watchers

Forks

Packages

No packages published