shx-3d-render
parent
a4070a6dbb
commit
adadfea72a
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue