$getRoute

Introduction

$getRoute() : CompiledRoute

The $getRoute() instance method returns a compiled route object, representing the route currently matched in the address bar.

The compiled route object is useful for looking up matched parameter values, reading metadata from the route definition, and determining the relative position in the routing tree.

Last updated