backup-ui-actors.rst (760B)
1 ========================== 2 Backup UI Actors Reference 3 ========================== 4 5 The ``BackupUIParent`` and ``BackupUIChild`` actors allow UI widgets to access 6 the current state of the ``BackupService`` and to subscribe to state updates. 7 8 UI widgets that want to subscribe to state updates must ensure that they are 9 running in a process and on a page that the ``BackupUIParent/BackupUIChild`` 10 actor pair are registered for, and then fire a ``BackupUI::InitWidget`` event. 11 12 It is expected that these UI widgets will respond to having their 13 ``backupServiceState`` property set. 14 15 .. js:autoclass:: BackupUIParent 16 :members: 17 :private-members: 18 19 .. js:autoclass:: BackupUIChild 20 .. js::autoattribute:: BackupUIChild#inittedWidgets 21 :members: 22 :private-members: