guidFor (obj) String
public
Returns a unique id for the object. If the object does not yet have a guid, one will be assigned to it. You can call this on any object, Ember.Object
-based or not, but be aware that it will add a _guid
property.
You can also use this method on DOM Element objects.
Parameters:
-
obj
Object
- any object, string, number, Element, or primitive
Returns:
-
String
- the unique guid for this instance.
Please login to continue.