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