zIndex

returns the maximum used z-index

number zIndex();
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
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.