2 Replies Latest reply on Sep 19, 2011 10:43 AM by bleathem

    PickList events

    bleathem

      The picklist currently has three types of events: source, taget, and global events. Global is perhaps a bad choice of words, but I mean events that apply to the picklist as a whole.

       

      I'm wondering to waht degree this makes sense.  For instance consider focus, mouseover, and click events.  You can listen to one of these events for specifically the source and target lists, but you can also listen to the global event.  Is this overkill?  Would it be sufficient to have the source and target listeners?

       

      If we did drop the global listeners, interactions with the buttons in the middle would be lost, but the impl would be much simpler.  Perhaps we could add button specific events instead?

        • 1. Re: PickList events
          lfryc

          Hi Brian,

           

          having global, source-, and target-specific events is good idea,

           

          but it is most useful to have semantic events like add, remove.

           

          It would be great to have set of events as rich as possible so user can react with behaviors without writing any JavaScript.

          • 2. Re: PickList events
            bleathem

            Thanks for the reply Lukas.  Indeed, having thought about it a bunch, I agree the global events are worth keeping around.

             

            Also, the semantic events are already there.

             

            Brian