mapcomplete/Customizations/Questions/Website.ts

18 lines
570 B
TypeScript
Raw Normal View History

import {TagRenderingOptions} from "../TagRendering";
import {UIElement} from "../../UI/UIElement";
import Translations from "../../UI/i18n/Translations";
export default class Website extends TagRenderingOptions {
constructor(category: string | UIElement) {
super({
question: Translations.t.general.questions.websiteOf.Subs({category: category}),
freeform: {
2020-07-29 15:55:50 +02:00
renderTemplate: Translations.t.general.questions.websiteIs,
2020-07-30 09:59:30 +02:00
template: "$$$",
2020-07-29 20:09:25 +02:00
key: "website"
}
});
}
}