Template helper to check if the supplied route name matches the currently active route's name.
Returns either a configurable String
, which defaults to 'active'
, or false
.
The following can be used by as arguments in isNotActivePath
, isNotActiveRoute
, isActivePath
and isActiveRoute
helpers.
- Data context, Optional.
String
orObject
withname
,path
orregex
name
{String} - Only available forisActiveRoute
andisNotActiveRoute
path
{String} - Only available forisActivePath
andisNotActivePath
regex
{String|RegExp}