Class: Overlay

Overlay

new Overlay()

Source:

Methods

focusOnElement()

Focuses on an element by resizing a transparent overlay to match its dimensions and changes the borders to be colored to obscure the main UI. This method is involved in the "transparent overlay" strategy.
Source:

showBackgroundOverlay()

Shows a background overlay to obscure the main interface, and acts as the background for the cloned elements involved in the tutorial. This method is involved in the "clone element" strategy.
Source:

showTransparentOverlay()

Shows a transparent overlay to prevent user from interacting with cloned elements.
Source: