Floating Bar

Pastylka unosząca się nad wszystkimi aplikacjami, gdy nagrywanie jest gotowe, trwa lub jest przetwarzane, z przyciskiem zamknięcia.

Dostępny w
  • Angular: dostępny
  • Vue: dostępny
  • React: dostępny
  • React Native: jeszcze niedostępny

Użycie

Ready · ⌘⇧R

Import

ts
import {
  SoneFloatingBarComponent,
} from "@surface-one/angular/floating-bar";

Dokumentacja API

SoneFloatingBarComponentKomponent

Selektor
sone-floating-bar
Wejścia
NazwaTyp Domyślnie
stateFloatingBarState"idle"
closeLabel—$localize`:Button that hides the floating recording bar:Hide`
closable

Show the trailing close button.

booleantrue
dragRegionAttr

An attribute that marks the bar's chrome as the window's drag handle — Tauri's `data-tauri-drag-region`. Set on the bar's own background element, so projected content needs none of its own. `null` = no attribute.

string | nullnull
dragRegionValue

The attribute's value. `deep` (default): Tauri 2.11 drags from anywhere inside the bar except buttons, links, inputs and labels; `""`: the background only.

string"deep"
Wyjścia
NazwaTyp
closedvoid