I will give it a try. Any suggestions or tips to help me get started adding the new functionality to firebase-element. I have already forked the firebase-element.
Found the following in the Firebase 2.0.0 chang log: FEATURE Added Query.orderByChild() for ordering by arbitrary child attributes. FEATURE Added Query.orderByKey() and Query.orderByPriority() to explicitly set sort order. FEATURE Added Query.equalTo() for exact-match filtering using arbitrary child attributes. FEATURE Added Query.limitToFirst() and Query.limitToLast() to explicitly set limit direction. FEATURE Improved performance of existing query functionality. CHANGED Changes in priority now raise a child_changed event in addition to a child_moved event. DEPRECATED Deprecated Firebase.name() in favor of Firebase.key(). DEPRECATED Deprecated DataSnapshot.name() in favor of DataSnapshot.key(). DEPRECATED Deprecated Query.limit() in favor of Query.limitToFirst() or Query.limitToLast(). REMOVED Removed the previously-deprecated Firebase.setOnDisconnect() and Firebase.removeOnDisconnect() methods. FIXED Firebase.ServerValue.TIMESTAMP now works properly in transactions. FIXED Transaction callbacks now always return the snapshot from the specific transaction. FIXED Fixed transactions bug when running on cached data. FIXED Fixed some cases where child_added events were raised with only partially-complete data. On Wednesday, November 5, 2014 9:56:01 AM UTC-8, Eric Bidelman wrote: > > Hey Chuck, the fb element is very basic and doesn't support a lot of > firebase's awesome. PRs or new elements to that repo are welcome :) > On Nov 5, 2014 5:03 AM, "Chuck Horton" <[email protected] <javascript:>> > wrote: > >> Does the firebase-element support the new Firebase Richer Query >> Capabilities or does it need to be updated? See >> https://www.firebase.com/blog/2014-11-04-firebase-realtime-queries.html >> for announcement. >> >> Example from ( >> https://www.firebase.com/blog/2014-11-04-firebase-realtime-queries.html) >> var ref = new Firebase("https://dinosaur-facts.firebaseio.com/"); >> ref.orderByChild("height").on("child_added", function(snapshot) { >> console.log(snapshot.key() + " was " + snapshot.val().height + " >> meters tall"); >> }); >> >> Another example from ( >> https://www.firebase.com/blog/2014-11-04-firebase-realtime-queries.html) >> var ref = new Firebase("https://dinosaur-facts.firebaseio.com/"); >> ref.orderByChild("height").startAt(3).on("child_added", function(snapshot >> ) { >> console.log(snapshot.key()) >> }); >> >> Follow Polymer on Google+: plus.google.com/107187849809354688692 >> --- >> You received this message because you are subscribed to the Google Groups >> "Polymer" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/polymer-dev/7a560412-09a6-4957-930c-5a95ae9cf2b8%40googlegroups.com >> >> <https://groups.google.com/d/msgid/polymer-dev/7a560412-09a6-4957-930c-5a95ae9cf2b8%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > Follow Polymer on Google+: plus.google.com/107187849809354688692 --- You received this message because you are subscribed to the Google Groups "Polymer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/d42b4317-0905-4727-bdf2-2023a9bb512a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
