Looking Sideways
  • Home
Tagged

ember.js

A collection of 1 post

dev-notes

Ember.computed.apply

When a Computed Property needs to observe a long list of properties, especially if that list can be generated at runtime, it can save a lot of effort and maintenance headaches to generate that CP dynamically. An example from Ghost's editor controller mixin: import PostModel from 'ghost/models/post'; const

  • Kevin Ansfield
Kevin Ansfield Jan 12, 2016 • 2 min read
Looking Sideways © 2022
Powered by Ghost