Skip to content

MaterialDesignJsVeiwRenderer / view.core.renderers.viewRenderers.display / TextViewRenderer

TextViewRenderer

open class TextViewRenderer :AbstractViewRenderer<<ERROR CLASS>>

Constructors

<init>
TextViewRenderer(view: <ERROR CLASS>)
TextViewRenderer(view: <ERROR CLASS>, element: <ERROR CLASS>, reRendering:Boolean= true)

Inherited Properties

css
val css:ElementCss

element
val element: <ERROR CLASS>
A HTMLElement that will represent the view.

reRendering
val reRendering:Boolean
If true, this parameter indicates that the element passed was already built. This happens when a view is already rendered and one of its properties changes later. In this case the renderer should only update the element and not rebuild it from scratch.

view
val view:V
The view to render

Functions

buildElement
open fun buildElement():Unit

Inherited Functions

renderView
open fun renderView(): <ERROR CLASS>
Builds a DOM element corresponding to the view.