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

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

Inheritors

Link copied to clipboard
Link copied to clipboard