I have some "decoration" divs that alternate between the moveable ones. So on pickup, I'd like to clean/hide them from view while the user is deciding where to place the now moving item.
> -----Original Message-----
> From: Antranig Basman [mailto:
antranig@...]
> Sent: Thursday, October 09, 2008 1:39 PM
> To: Sobieralski, Damian Michael
> Cc:
fluid-talk@...
> Subject: Re: Grid Reorderer
>
> Hi Damian. The complete list of events for a component is declared
> in its "defaults" structure - which for the Reorderer consists of
>
> events: {
> onShowKeyboardDropWarning: null,
> onSelect: null,
> onBeginMove: "preventable",
> onMove: null,
> afterMove: null,
> onHover: null
> },
>
> (Reorderer.js line 614).
> I suspect that the "just picked up" event you are after is either
> onBeginMove or onMove. What is your event handler going to do?
>
> Cheers,
> A.
>
> Sobieralski, Damian Michael wrote:
> >
> > Can you help me understand the listeners better?
> >
> > I found this:
> >
> >
http://wiki.fluidproject.org/display/fluid/Grid+Reorderer+API+-+v0.5> >
> > listeners: {
> > onShowKeyboardDropWarning: null,
> > onMove: null,
> > afterMove: null
> > }
> >
> > Could you describe (or point me to a link) of what events these
> listeners ... uhhh..... listen for?
> >
> > Also, is this list complete? I was hoping to have a listener that
> fired off of a ...ummm......... "just picked up" event.
> >
> > Thanks.
> >
> > - Damian
> >
> > > -----Original Message-----
> > > From: Anastasia Cheetham [mailto:
a.cheetham@...]
> > > Sent: Wednesday, October 08, 2008 2:56 PM
> > > To: Sobieralski, Damian Michael
> > > Cc:
fluid-talk@...
> > > Subject: Re: Grid Reorderer
> > >
> > >
> > > On 8-Oct-08, at 2:28 PM, Sobieralski, Damian Michael wrote:
> > >
> > > >
>
http://wiki.fluidproject.org/display/fluid/Integrating+the+Reorderer> > > >
> > > > In this example, two parameters are passed to the
> > > > fluid.reorderGrid() initialization:
> > > >
> > > > * a container selector based on the class of the container
> > > > (".reorderer_container")
> > > > * an item selector based on the class of the divs
> (".orderable")"
> > > >
> > > > But there is only ONE parameter passed to fluid.reorderGrid()
> > >
> > >
> > > Damian, thanks for catching this!! It seems this page was not
> properly
> > > updated to reflect the new API. I will address this asap, but in
> the
> > > meantime:
> > >
> > > The first parameter to fluid.reorderGrid() is indeed the container
> > > selector. A second parameter is an optional set of configuration
> > > parameters, as described on the API page:
> > >
> > >
http://wiki.fluidproject.org/display/fluid/Grid+Reorderer+API+-> +v0.5
> > >
> > > If you are using the default selector for the 'movable' items
> (which
> > > is a class of "movable"), then you don't need the second parameter.
> If
> > > you'd like to use a different selector, the 'selectors' option
> > > parameter can be used to specify it, for example:
> > >
> > > var mySelectors = {
> > > movables: ".my-movable-class" // or
> whatever
> > > selector you need
> > > };
> > > var opts = {
> > > selectors: mySelectors
> > > }
> > > fluid.reorderGrid(".reorderer_container", opts);
> > >
> > > Does this make sense?
> > >
> > >
> > > --
> > > Anastasia Cheetham
a.cheetham@...
> > > Software Designer, Fluid Project
> > > Adaptive Technology Resource Centre / University of Toronto
> > >
> > > "When we remember we are all mad, the mysteries
> > > disappear and life stands explained."
> > > -- Mark Twain
> > >
> >
> > _______________________________________________
> > fluid-talk mailing list
> >
fluid-talk@...
> >
http://fluidproject.org/mailman/listinfo/fluid-talk