HrefOptions | @uirouter/core
Options
All
  • Public
  • Public/Protected
  • All
Menu

An options object for StateService.href

Hierarchy

  • HrefOptions

Index

Properties

Optional absolute

absolute: boolean

If true will generate an absolute url, e.g. http://www.example.com/fullurl.

Optional inherit

inherit: boolean

If true will inherit parameters from the current parameter values.

Optional lossy

lossy: boolean

If true, and if there is no url associated with the state provided in the first parameter, then the constructed href url will be built from the first ancestor which has a url.

Optional relative

relative: StateOrName

Defines what state to be "relative from"

When a relative path is found (e.g ^ or .bar), defines which state to be relative from.

Generated using TypeDoc