visitEvent

Makes a request to a framework event.
Used in situations where framework engines don't support routes.

Arguments

Name Type Required Default Description
event string true The name of the event to execute.

Examples


it( "can visit a framework event", function() {
    this.visitEvent( "Main.index" )
        .visitEvent( "posts.4" );
} );