Methods
-
<static> max()
-
Returns max
z-index
of the element on the page. May be used for creating DOM element on top other elements.Returns:
Max
z-index
of the element on the page- Type
- Number
Example
import { max } from "ember-dialog/utils/zindex"; export default Ember.Component.extend({ didRender() { this.$().css({'z-index': max() + 1}); } });