Loading ...
Sorry, an error occurred while loading the content.

Re: [ydn-javascript] 'YAHOO.util.Event.on' versus 'YAHOO.util.Event.addListener'

Expand Messages
  • Satyam
    They are exactly the same, you can use whichever you want. Satyam
    Message 1 of 2 , Jul 30, 2008
    • 0 Attachment
      They are exactly the same, you can use whichever you want.

      Satyam


      erictobia wrote:
      > I'm starting look at the sample code and I was curious to learn more
      > about these two functions.
      >
      > How are they different?
      >
      > Are they interchangeable?
      >
      > The docs state that YAHOO.util.Event.on "is an alias for addListener".
      >
      > Is the one you use just a matter of personal preference?
      >
      > Thanks.
      >
      >
      >
      > ------------------------------------
      >
      > Yahoo! Groups Links
      >
      >
      >
      >
      > No virus found in this incoming message.
      > Checked by AVG - http://www.avg.com
      > Version: 8.0.138 / Virus Database: 270.5.6/1579 - Release Date: 29/07/2008 6:43
      >
      >
      >
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.