1
0
Fork 0
firefox/browser/components/backup/docs/backup-ui-actors.rst
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

22 lines
760 B
ReStructuredText

==========================
Backup UI Actors Reference
==========================
The ``BackupUIParent`` and ``BackupUIChild`` actors allow UI widgets to access
the current state of the ``BackupService`` and to subscribe to state updates.
UI widgets that want to subscribe to state updates must ensure that they are
running in a process and on a page that the ``BackupUIParent/BackupUIChild``
actor pair are registered for, and then fire a ``BackupUI::InitWidget`` event.
It is expected that these UI widgets will respond to having their
``backupServiceState`` property set.
.. js:autoclass:: BackupUIParent
:members:
:private-members:
.. js:autoclass:: BackupUIChild
.. js::autoattribute:: BackupUIChild#inittedWidgets
:members:
:private-members: