[+] Add identifier to index
This commit is contained in:
@@ -4,6 +4,7 @@ export interface Index
|
|||||||
{
|
{
|
||||||
hash: string
|
hash: string
|
||||||
title?: string
|
title?: string
|
||||||
|
identifier?: string
|
||||||
}
|
}
|
||||||
|
|
||||||
export default class NavController
|
export default class NavController
|
||||||
@@ -72,4 +73,9 @@ export default class NavController
|
|||||||
// Scroll to top
|
// Scroll to top
|
||||||
window.scrollTo(0, 0);
|
window.scrollTo(0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
get id()
|
||||||
|
{
|
||||||
|
return this.index.identifier
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user