<title-bar-view>
Makes part of a custom title bar the handle that drags the window, like the CSS app-region: drag property. It works only in Lynx's desktop apps for Windows and macOS, which use Lynx's Clay renderer: desktop (Clay) only.
Usage
src/app/title-bar.ts
Import LYNX_ELEMENTS in your component (see Elements).
Dragging the title moves the window, and the close button next to it stays tappable.
Warning
iOS and Android have no <title-bar-view>. Like any element the host app doesn't register, iOS leaves an empty box in its place and Android can drop the elements after it. Don't render it on iOS or Android.
Attributes
Plus the common attributes, such as id, class and style.
Events
None, apart from the common events, such as bindtap.
Platform support
Related
<cover-view>: the other desktop-only element<view>
