ng2_directives | UI-Router
Options
All
  • Public
  • Public/Protected
  • All
Menu

External module ng2_directives

The UI-Router Angular 2 directives:

  • UiView: A viewport for routed components
  • UiSref: A state ref to a target state; navigates when clicked
  • UiSrefActive: (and UiSrefActiveEq) Adds a css class when a UiSref's target state (or a child state) is active

Index

Variables

UIROUTER_DIRECTIVES: Array<UiSref | AnchorUiSref | UiView | UiSrefActive | UiSrefStatus>

References to the UI-Router directive classes, for use within a @Component's directives: property

References to the UI-Router directive classes, for use within a @Component's directives: property

example

Component({
  selector: 'my-cmp',
  directives: [UIROUTER_DIRECTIVES],
  template: '<a uiSref="foo">Foo</a>'
})

Generated using TypeDoc