evoShop.trigger( eventname )

arguments:

  • eventname: name of event to trigger
  • Trigger an event, and thus all callbacks binded to that event.

    evoShop.bind( 'awesomeEvent' , function(){
      console.log( "an awesome event just happened!" );
    });
    
    evoShop.trigger( "awesomeEvent" );