Constructors
constructor
- new Cache(context: Context): Cache
Properties
Private context
context: Context = null
Methods
Private applyConfigCache
- applyConfigCache(to: Route, from: Route): void
clear
- clear(excludeActive?: boolean): Promise<void>
-
Parameters
-
Default value excludeActive: boolean = true
findKeepAliveComponents
- findKeepAliveComponents(): any[]
Private findKeepAliveParentComponents
- findKeepAliveParentComponents(): any[]
isInactivatedComponent
- isInactivatedComponent(component: Vue): boolean
-
Parameters
Returns boolean
remove
- remove(fn: (key: string) => boolean, excludeActive?: boolean): Promise<void>
-
Parameters
-
fn: (key: string) => boolean
-
-
Parameters
Returns boolean
-
Default value excludeActive: boolean = true
캐시 기능 제공