APIs

Show:

Edit forms routes mixin which handles save/delete operations indication.

Methods

beforeModel

(
  • transition
)
Promise

This hook is the first of the route entry validation hooks called when an attempt is made to transition into a route or one of its children. More info.

Parameters:

  • transition Transition

Returns:

resetController

(
  • controller
  • isExisting
  • transition
)

A hook you can use to reset controller values either when the model changes or the route is exiting. More info.

Parameters:

setupController

(
  • controller
)

A hook you can use to setup the controller for the current route. More info.

Parameters:

  • controller Controller

Properties

recordAdded.

Boolean

Flag: indicates whether it's transition from new route or not.

Default: false