%META:TOPICPARENT{name="OATDOCIndex"}%
---+ layers.js
Generic z-index manager.
%TOC%
---++ Objects
---+++ OAT.Layers(baseOffset)
Creates Layers stack. All participating elements are assigned increasing sequence of z-indexes, started from baseOffset.
---++ Methods
---+++ OAT.Layers::addLayer(element, activationEvent)
Adds element to stack. When activationEvent (default: mousedown) fires, the element is raised.
---+++ OAT.Layers::removeLayer(element)
Removes element from stack.
CategoryDocumentation CategoryOAT CategoryOpenSource