Widget Factory: Number in collection and current number
So I'm trying to use the widget factory for a plugin I am writing, but
need access to two things that I can't find.
1) A count of how many items are in the collection
2) What item I am on (number).
How would I find these items?
In a regular jQuery plugin I can get the number before I go into the
"return this.each(function(i){..." and then use the "i" in that
example to get the current number.
Are these available when iniside the _init of the widget factory?
Thanks