TextSupport#keyPress()

keyPress (event) private Defined in packages/ember-views/lib/mixins/text_support.js:277 Allows you to specify a controller action to invoke when a key is pressed. To use this method, give your field a key-press attribute. The value of that attribute should be the name of the action in your controller you that wish to invoke. For an example on how to use the key-press attribute, please reference the example near the top of this file. Parameters: event Event

Component#init()

initprivate Inherited from Ember.CoreObject but overwritten in packages/ember-views/lib/mixins/view_support.js:388 Setup a view, but do not finish waking it up. configure childViews register the view with the global views hash, which is used for event dispatch

Ember.getProperties()

getProperties (obj, list) Objectpublic Defined in packages/ember-metal/lib/get_properties.js:3 To get multiple properties at once, call Ember.getProperties with an object followed by a list of strings or an array: Ember.getProperties(record, 'firstName', 'lastName', 'zipCode'); // { firstName: 'John', lastName: 'Doe', zipCode: '10011' } is equivalent to: Ember.getProperties(record, ['firstName', 'lastName', 'zipCode']); // { firstName: 'John', lastName: 'Doe', zipCode: '10011' } Paramet

DS.JSONSerializer#_shouldSerializeHasMany()

_shouldSerializeHasMany (snapshot, key, relationshipType) Booleanprivate Defined in addon/serializers/json.js:878 Check if the given hasMany relationship should be serialized Parameters: snapshot DS.Snapshot key String relationshipType String Returns: Boolean true if the hasMany relationship should be serialized

Ember.computed.uniqBy()

uniqBy (dependentKey, propertyKey) Ember.ComputedPropertypublic Defined in packages/ember-runtime/lib/computed/reduce_computed_macros.js:379 A computed property which returns a new array with all the unique elements from an array, with uniqueness determined by specific key. Example let Hamster = Ember.Object.extend({ uniqueFruits: Ember.computed.uniqBy('fruits', 'id') }); let hamster = Hamster.create({ fruits: [ { id: 1, 'banana' }, { id: 2, 'grape' }, { id: 3, 'peach' },

Ember.computed.intersect()

intersect (propertyKey) Ember.ComputedPropertypublic Defined in packages/ember-runtime/lib/computed/reduce_computed_macros.js:438 A computed property which returns a new array with all the duplicated elements from two or more dependent arrays. Example let obj = Ember.Object.extend({ friendsInCommon: Ember.computed.intersect('adaFriends', 'charlesFriends') }).create({ adaFriends: ['Charles Babbage', 'John Hobhouse', 'William King', 'Mary Somerville'], charlesFriends: ['William King', '

Troubleshooting

Troubleshooting Below are some common issues you may encounter when using the Inspector, along with the necessary steps to solve them. If your issue is not listed below, please submit an issue to the Inspector's GitHub repo. Ember Application Not Detected If the Inspector cannot detect an Ember application, you will see the following message: Some of the reasons this may happen: This is not an Ember application You are using an old Ember version ( < 1.0 ). You are using a protocol other t

RSVP.all()

all (array, label) static Inherited from RSVP but overwritten in bower_components/rsvp/lib/rsvp/all.js:3 This is a convenient alias for RSVP.Promise.all. Parameters: array Array Array of promises. label String An optional label. This is useful for tooling.

DS#hasMany()

hasMany (type, options) Ember.computed Defined in addon/-private/system/relationships/has-many.js:11 DS.hasMany is used to define One-To-Many and Many-To-Many relationships on a DS.Model. DS.hasMany takes an optional hash as a second parameter, currently supported options are: async: A boolean value used to explicitly declare this to be an async relationship. inverse: A string used to identify the inverse property on a related model. One-To-Many To declare a one-to-many relationship betwe

DataAdapter#wrapRecord()

wrapRecord (record) Objectprivate Defined in packages/ember-extension-support/lib/data_adapter.js:414 Wraps a record and observers changes to it. Parameters: record Object The record instance. Returns: Object The wrapped record. Format: columnValues: {Array} searchKeywords: {Array}