modal

fun modal(value: Int): Property

creates Property for a specific modals z-index

Parameters

value

number of modal the z-index should be calculated for

fun modal(value: Int, offset: Int): Property

creates Property for a specific modals z-index shifted by an offset

Parameters

offset

number to add to the final z-index in order to place an element below (negative value!) or on top (positive value) of a regularly defined modal.

value

number of modal the z-index should be calculated for