<cover-view>
Draws its children above embedded native views, such as a <webview>, which otherwise cover all Lynx content. It works only in Lynx's desktop apps for Windows and macOS, which use Lynx's Clay renderer: desktop (Clay) only.
Usage
src/app/browser.ts
Import LYNX_ELEMENTS in your component (see Elements).
:::note
iOS, Android and the web have no <cover-view>, so AngularLynx creates a <view> in its place there.
- Its content and layout stay the same, but it draws below a
<webview>or<video>rather than above it. - A CSS rule that selects the element by its tag name (
cover-view { … }) doesn't apply there. Style it with a class instead. :::
Attributes
None of its own. Position and size it like a <view>. It takes the common attributes, such as id, class and style.
Events
None, apart from the common events, such as bindtap.
Platform support
Related
<webview><title-bar-view>: the other desktop-only element<overlay>: a layer above the page on iOS, Android and web- To cover only other Lynx content, use a
<view>withposition: fixedinstead
