ControlRenderer

interface ControlRenderer

This interface defines a type for the rendering of one formControl.

As there are different kind of controls, it is necessary to make the rendering a strategy! This offers also an easy way to customize the rendering, if the default implementations do not fit.

Remember to apply necessary CSS marker classes to the container elements formGroupElementContainerMarker of the rendered structure.

Functions

render
Link copied to clipboard
js
abstract fun render(styling: BoxParams.() -> Unit = {}, baseClass: StyleClass = StyleClass.None, id: String? = null, prefix: String = "formControl", context: RenderContext, control: RenderContext.() -> RenderContext)

Inheritors

SingleControlRenderer
Link copied to clipboard
ControlGroupRenderer
Link copied to clipboard