evoShop.bind( eventname , callback )

arguments:

  • eventname: string representing the name of an event
  • callback: function that will be called when the event is fired
  • returns:

  • evoShop
  • evoShop.bind( 'error' , function(message){
        alert( message );
    });
    

    When an error event is triggered, the function will be called and the error message will be alerted.

    Please view the Event reference for existing event names and arguments supplied.