zIndex

returns the maximum used z-index

number zIndex();

Returns

numberthe maximum z-index value

Example

//to be on the top
div.style.zIndex = webix.ui.zIndex();

Details

Each time you call the method, the maximum z-index increases. So each next method call retrieves the value bigger than older ones.

Back to top