mirror of
https://github.com/venera-app/venera-configs.git
synced 2025-09-27 08:27:24 +00:00
Add callback setting to template
This commit is contained in:
@@ -740,6 +740,14 @@ class NewComicSource extends ComicSource {
|
|||||||
type: "input",
|
type: "input",
|
||||||
validator: null, // string | null, regex string
|
validator: null, // string | null, regex string
|
||||||
default: '',
|
default: '',
|
||||||
|
},
|
||||||
|
setting4: {
|
||||||
|
title: "Setting4",
|
||||||
|
type: "callback",
|
||||||
|
buttonText: "Click me",
|
||||||
|
callback: () => {
|
||||||
|
// do something
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user