Ember.meta()

meta (obj, writable) Objectprivate

Defined in packages/ember-metal/lib/meta.js:360

Retrieves the meta hash for an object. If writable is true ensures the hash is writable for this object as well.

The meta object contains information about computed property descriptors as well as any watched properties and other information. You generally will not access this information directly but instead work with higher level methods that manipulate this hash indirectly.

Parameters:

obj Object
The object to retrieve meta for
writable [Boolean]
Pass `false` if you do not intend to modify the meta hash, allowing the method to avoid making an unnecessary copy.

Returns:

Object
the meta hash for an object
doc_EmberJs
2016-11-30 16:51:35
Comments
Leave a Comment

Please login to continue.