Having some issues working out how to use signature with require configuration. And which JS files need to be included?
config file
"Survey": "assets/js/common/surveyjs/survey.jquery.min",
"tagbox": "assets/js/common/widgets/surveyjs-widgets/select2-tagbox.min",
"signaturepad": "assets/js/common/widgets/surveyjs-widgets/signature_pad.min",
usage
define(
[
"jquery",
"Survey",
"signaturepad",
"tagbox"
],
function(
$,
Survey
) {
"use strict";
Survey.StylesManager.applyTheme("bootstrap");
initTagbox(Survey, $);
}
)