Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TabRecoveryProvider

Extend to enable recovery for your custom tab. This works in conjunction with [[getRecoveryToken()]]

Terminus will try to find any TabRecoveryProvider that is able to process the recovery token previously returned by getRecoveryToken.

Recommended token format:

{
  type: 'my-tab-type',
  foo: 'bar',
}

Hierarchy

  • TabRecoveryProvider

Index

Methods

Methods

Abstract recover

  • Parameters

    • recoveryToken: any

      a recovery token found in the saved tabs list

    Returns Promise<RecoveredTab | null>

    RecoveredTab descriptor containing tab type and component inputs or null if this token is from a different tab type or is not supported

Generated using TypeDoc