Class BootstrapConfig
java.lang.Object
uk.wardm.formaker.transformer.thymeleaf.BootstrapConfig
public class BootstrapConfig extends Object
Basic visual/theming configuration for the BootstrapComponentRenderer
For example:
BootstrapConfig config = new BootstrapConfig();
config.getTextInputAttrs().put("class", "form-control form-control-sm");
config.getSelectAttrs().put("class", "custom-select custom-select-sm");
config.getTextBoxAttrs().put("rows", "5");
return new FormakerDialect(new BootstrapComponentRenderer(false, config));
-
Constructor Summary
Constructors Constructor Description BootstrapConfig() -
Method Summary
-
Constructor Details
-
BootstrapConfig
public BootstrapConfig()
-