• Topic
  • Discussion
  • OATWikiWeb.OATDOClayers(Last) -- Owiki? , 2016-08-19 14:58:51 Edit owiki 2016-08-19 14:58:51

    layers.js

    Generic z-index manager.

    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.


    Referenced by...