HTMLBars.helpers

Ember.HTMLBars.helpers Class Module: ember-data

Error

Ember.Error Class PUBLIC Extends: Error Defined in: packages/ember-metal/lib/error.js:11 Module: ember A subclass of the JavaScript Error object for use in Ember.

DS.Model#serialize()

serialize (options) Object Defined in addon/-private/system/model/model.js:382 Create a JSON representation of the record, using the serialization strategy of the store's adapter. serialize takes an optional hash as a parameter, currently supported options are: includeId: true if the record's ID should be included in the JSON representation. Parameters: options Object Returns: Object an object whose values are primitive JSON values only

Templates.helpers.input()

input (options) public Defined in packages/ember-htmlbars/lib/keywords/input.js:8 The {{input}} helper lets you create an HTML <input /> component. It causes an Ember.TextField component to be rendered. For more info, see the Ember.TextField docs and the templates guide. {{input value="987"}} renders as: <input type="text" value="987" /> Text field If no type option is specified, a default of type 'text' is used. Many of the standard HTML attributes may be passed to this helpe

Engine#resolver

resolverpublic Inherited from Ember.Engine but overwritten in packages/ember-application/lib/system/engine.js:427 Set this to provide an alternate class to Ember.DefaultResolver

DS.RESTSerializer#serializePolymorphicType()

serializePolymorphicType (snapshot, json, relationship) Inherited from DS.JSONSerializer but overwritten in addon/serializers/rest.js:742 You can use this method to customize how polymorphic objects are serialized. By default the REST Serializer creates the key by appending Type to the attribute and value from the model's camelcased model name. Parameters: snapshot DS.Snapshot json Object relationship Object

DS.Model#isError

isError{Boolean} Defined in addon/-private/system/model/model.js:244 If true the adapter reported that it was unable to save local changes to the backend for any reason other than a server-side validation error. Example record.get('isError'); // false record.set('foo', 'valid value'); record.save().then(null, function() { record.get('isError'); // true });

Services

Services An Ember.Service is an Ember object that lives for the duration of the application, and can be made available in different parts of your application. Services are useful for features that require shared state or persistent connections. Example uses of services might include: User/session authentication. Geolocation. WebSockets. Server-sent events or notifications. Server-backed API calls that may not fit Ember Data. Third-party APIs. Logging. Defining Services Services can be gener

Copyable#willMergeMixin()

willMergeMixinprivate Defined in packages/ember-runtime/lib/mixins/controller_content_model_alias_deprecation.js:19 Available since 1.4.0

AriaRoleSupport

Ember.AriaRoleSupport Class PRIVATE Defined in: packages/ember-views/lib/mixins/aria_role_support.js:8 Module: ember-views