API Docs for: 2.10.19
Show:

oreesh-overlay Class

An overlay container.

// Can be created dynamically
var overlay = new OreeshOverlay();


<!-- Or via HTML -->
<!-- A default overlay, which is visible by default -->
<oreesh-overlay>
    <div>
        stuff stuff stuff
    </div>
</oreesh-overlay>

<!-- There are attirbutes to control opacity color/intesity and shadow -->
<oreesh-overlay opacity="high">
    <div class="oreesh-overlay-shadow-target">
        stuff stuff stuff
    </div>
</oreesh-overlay>

Methods

close

()

Closes the overlay, removing it from the screen.

open

()

Opens the overlay, making it appear on the screen.

Attributes

absolute

Boolean

Change the position style to absolute in content element.

no-animate

Boolean

Enables fade-in and fade-out animations for the overlay.

no-shadow

Boolean

Removes shadow styling to the overlay. To have styling one div inside the oreesh-overlay must have the class oreesh-overlay-shadow-target; the shadow will be applied to that div.

opacity

Boolean

Sets the opacity value. Options are low, high, or none.

Default: `low`

z-index-backdrop

Number

Custom z-index style for backdrop area.

z-index-content

Number

Custom z-index style for content area.