shx-3d-render

main
Jan Umbach 2024-06-17 16:29:24 +02:00
parent a4070a6dbb
commit adadfea72a
1 changed files with 13 additions and 0 deletions

View File

@ -47,6 +47,9 @@
"test2": {
"text1": "test1",
"text2": "test2"
}, "TextOne": {
"text1": "Julia",
"font": "LT Beverage"
}
};
@ -106,6 +109,16 @@
html += SHX_IFC_genTextInput('custom-text-2', 'Custom Text 2', 'Custom Text 2', globalInputFormsObjValues['test2']['text2'], section_id);
html += SHX_IFC_genRenderButton();
return html;
}
}, "TextOne": {
"renderHTML": (section_id) => {
let html = defaultStyle;
html += SHX_IFC_genTextInput('shx-text1', 'Custom Text 1', 'Text', globalInputFormsObjValues['test1']['text1'], section_id);
html += SHX_IFC_genDropdownSelect('shx-font', 'Schriftart', 'Schriftart', globalInputFormsObjValues['test1']['font'], ['LT Beverage', 'Arial'], section_id);
html += SHX_IFC_genRenderButton();
return html;
}
}