Navigation | Overlay |
---|---|
t Navigate files | h Toggle hits |
y Change url to tip of branch | m Toggle misses |
b / v Jump to prev/next hit line | p Toggle partial |
z / x Jump to prev/next missed or partial line | 1..9 Toggle flags |
shift + o Open current page in GitHub | a Toggle all on |
/ or ? Show keyboard shortcuts dialog | c Toggle context lines or commits |
1 |
import { Vue, VueConstructor, VuexPlugin, StorageDriver } from './interfaces' |
|
2 |
|
|
3 | 1 |
import { install } from './install' |
4 | 1 |
import { createVuexPlugin } from './vuexplugin' |
5 | 1 |
import * as drivers from './drivers' |
6 |
|
|
7 |
export interface vjs { |
|
8 |
(): VuexPlugin<Object> |
|
9 |
install: (Vue: VueConstructor) => void |
|
10 |
drivers: { localStorage: StorageDriver; sessionStorage: StorageDriver } |
|
11 |
}
|
|
12 | 1 |
const vuejsStorage = <vjs>function(option) { |
13 | 1 |
return createVuexPlugin(option) |
14 |
}
|
|
15 | 1 |
vuejsStorage.install = install |
16 | 1 |
vuejsStorage.drivers = drivers |
17 |
|
|
18 | 1 |
export default vuejsStorage |
Read our documentation on viewing source code .