Reputation: 8628
Given an TASKS: FirebaseListObservable<any[]>; object, how can I get the path where it points to?
TASKS: FirebaseListObservable<any[]>;
Tried .$ref, but I just see a bunch of obfuscated fields (in Chrome debugger).
.$ref
Upvotes: 1
Views: 89
Reputation: 58430
It has a bunch of obfuscated fields, but the function you want is implemented; it's on the prototype. You need to call toString:
toString
var url = TASKS.$ref.toString();
Upvotes: 2