Files
ScoreSaberUtils-Script/src/pages/page.ts
Liam c8990f21cd
Some checks failed
Deploy App / docker (ubuntu-latest) (push) Failing after 7s
re-code the userscript
2024-04-25 23:39:26 +01:00

24 lines
354 B
TypeScript

export default class Page {
/**
* The route of the page
* eg: /ranking
*/
private readonly _route: string;
constructor(route: string) {
this._route = route;
}
/*
* This gets called when the page is loaded
*/
public onLoad() {}
/**
* The route of the page
*/
get route(): string {
return this._route;
}
}