IRouter

Summary

The interface for Altitude router implementations.

Description

The IRouter interface defines the interface for Altitude router implementations.

Examples

Basic Usage
1
2
3
4
5
6
import Altitude.Frontend.RouteEngines;
 
class ConcreteRouter : IRouter
{
    // ...
}

Methods

  • listenEvents

    Listen for routing events.

    For example, for a web browser router, this method might listen for a hash change event.

  • registerRoute

    The method to override to perform route registration.

Share

HTML | BBCode | Direct Link