Skip to content

MaterialDesignJsVeiwRenderer / view.utils.elementCss.properties / Position

Position

enum class Position :CssValue,CssProperty

Enum Values

STATIC

RELATIVE

FIXED

ABSOLUTE

STICKY

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.