registerRoute

Summary

The method to override to perform route registration.

Signatures

Click on a signature to select it and view its documentation.

Usage

void registerRoute(string route, void() show, void() hide)

Parameters

route

The identifier to associate with the route. For example, in a web browser router, this might be a hash (fragment identifier).

show

The callback to execute when the route is activated.

hide

The callback to execute when the route is deactivated.

Description

The method to override to perform route registration.

Examples

Share

HTML | BBCode | Direct Link