render
open override fun render( styling: BoxParams.() -> Unit, baseClass: StyleClass, id: String?, prefix: String): SimpleHandler<Unit>
Content copied to clipboard
Central method that should do the actual rendering of a managed component.
Attention: No RenderContext is needed here, as the implementing class must provide it by itself! This can be created by managedRenderContext provided by this interface's companion object.
Consider to declare your implementation as `open` in order to allow the customization of a component.
Parameters
styling
a lambda expression for declaring the styling as fritz2's styling DSL
base Class
optional CSS class that should be applied to the element
id
the ID of the element
prefix
the prefix for the generated CSS class resulting in the form `$prefix-$hash`