Skip to content

MaterialDesignJsVeiwRenderer / view.utils.elementCss.properties / Display

Display

enum class Display :CssProperty,CssValue

Enum Values

None

BLOCK

INLINE

INLINE_BLOCK

FLEX

GRID

INLINE_GRID

Functions

applyToStyle
fun applyToStyle(element: <ERROR CLASS>):Unit
Sets the element's corresponding css property value

Inherited Functions

cssString
open fun cssString(): <ERROR CLASS>
This method is generally used in enums representing Css values. It facilitates the conversion from enum value to css string value. For more specific cases, overriding this method is necessary.