Interface IStateService

Index

Properties

Methods

Properties

public current: IState

public params: IStateParamsService

Methods

public get(state: string): IState

Parameters

  • state: string

Returns

IState

public get(): IState[]

Returns

IState[]

public go(to: string, params?: {}, options?: IStateOptions): IPromise

Parameters

  • to: string
  • params?: {} optional
  • options?: IStateOptions optional

Returns

IPromise

public href(state: IState, params?: {}, options?: IHrefOptions): string

Parameters

Returns

string

public href(state: string, params?: {}, options?: IHrefOptions): string

Parameters

  • state: string
  • params?: {} optional
  • options?: IHrefOptions optional

Returns

string

public includes(state: string, params?: {}): boolean

Parameters

  • state: string
  • params?: {} optional

Returns

boolean

public is(state: string, params?: {}): boolean

Parameters

  • state: string
  • params?: {} optional

Returns

boolean

public is(state: IState, params?: {}): boolean

Parameters

  • state: IState
  • params?: {} optional

Returns

boolean

public reload()

public transitionTo(state: string, params?: {}, updateLocation?: boolean)

Parameters

  • state: string
  • params?: {} optional
  • updateLocation?: boolean optional

public transitionTo(state: string, params?: {}, options?: IStateOptions)

Parameters

  • state: string
  • params?: {} optional
  • options?: IStateOptions optional