ZIndices

class ZIndices(baseValue: Int, layer: Int, layerStep: Int, overlayValue: Int, toast: Int, toastStep: Int, modal: Int, modalStep: Int)

Defines the scheme for zIndices in fritz2

Constructors

ZIndices
Link copied to clipboard
js
fun ZIndices(baseValue: Int, layer: Int, layerStep: Int, overlayValue: Int, toast: Int, toastStep: Int, modal: Int, modalStep: Int)

Types

Companion
Link copied to clipboard
js
object Companion

Functions

equals
Link copied to clipboard
js
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
js
open fun hashCode(): Int
layer
Link copied to clipboard
js
fun layer(value: Int): Property
creates Property for a specific layer z-indexUse self defined constants for the different layers of your UI.
modal
Link copied to clipboard
js
fun modal(value: Int): Property
creates Property for a specific modals z-index
fun modal(value: Int, offset: Int): Property
creates Property for a specific modals z-index shifted by an offset
toast
Link copied to clipboard
js
fun toast(value: Int): Property
creates Property for a specific toast z-index
toString
Link copied to clipboard
js
open fun toString(): String

Properties

base
Link copied to clipboard
js
val base: Property
Property for base z-index
overlay
Link copied to clipboard
js
val overlay: Property
Property for overlay z-index