[+] Add identifier to index

This commit is contained in:
Hykilpikonna
2019-12-21 13:20:18 -05:00
parent dfbe255191
commit cdeae1e1d4
+6
View File
@@ -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
}
}