UISrefActiveProps | @uirouter/react
  • Public
  • Public/Protected
  • All


  • UISrefActiveProps



Optional children

children: any

The component to apply the active class to. It should be a UISref or any node with UISref descendant

Optional class

class: string

The class string to apply when the state is active (i.e. "menu-item-active")

Optional className

className: string

Any class will be passed down to its child component

Optional exact

exact: Boolean

Whether the target state of the child UISref should match exactly the state or could also be a child state. When set to true, if state params are supplied then they will be tested for strict equality against the current active url params, so all params must match with none missing and no extras.

Generated using TypeDoc