ui: allow font customization

This commit is contained in:
undefined committed 2022-02-22 00:24:50 +08:00
1 parent cf1195a6ee
commit 9b2c36efbf
13 files changed
+93 -31

No files matched your search

+2 -2
View File
@@ -24,13 +24,13 @@ export class Page {
}
export class NamedPage extends Page {
constructor(name: string | string[], afterLoading = null, beforeLoading = null) {
constructor(name: string | string[], afterLoading: (pagename: string) => any = null, beforeLoading = null) {
super(name, false, afterLoading, beforeLoading);
}
}
export class AutoloadPage extends Page {
constructor(name: string | string[], afterLoading = null, beforeLoading = null) {
constructor(name: string | string[], afterLoading: (pagename: string) => any = null, beforeLoading = null) {
super(name, true, afterLoading, beforeLoading);
}
}