AngularTS
    Preparing search index...

    Interface StateRetentionPolicyDeclaration

    interface StateRetentionPolicyDeclaration {
        evict?: StateRetentionEvictionMode | StateRetentionEvictionPolicy;
        key?: string | StateRetentionKeyPolicy;
        max?: number;
        mode?: StateRetentionMode;
        pause?: StateRetentionPauseMode;
    }
    Index

    Properties

    Eviction strategy used when the retained route cache exceeds max.

    key?: string | StateRetentionKeyPolicy

    Optional cache key override. By default, retained route instances are keyed by state identity and params.

    max?: number

    Maximum number of retained route instances allowed for this policy.

    Controls whether this route subtree is destroyed on exit or deactivated and retained for later reactivation.

    Controls how inactive retained route trees pause work while deactivated.