Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

actions.native.ts 801B

12345678910111213141516171819202122232425262728293031
  1. /* eslint-disable max-len */
  2. // @ts-ignore
  3. import { PageReloadDialog, openDialog } from '../base/dialog';
  4. /**
  5. * Signals that the prompt for media permission is visible or not.
  6. *
  7. * @param {boolean} _isVisible - If the value is true - the prompt for media
  8. * permission is visible otherwise the value is false/undefined.
  9. * @param {string} _browser - The name of the current browser.
  10. * @public
  11. * @returns {{
  12. * type: MEDIA_PERMISSION_PROMPT_VISIBILITY_CHANGED,
  13. * browser: {string},
  14. * isVisible: {boolean}
  15. * }}
  16. */
  17. export function mediaPermissionPromptVisibilityChanged(_isVisible: boolean, _browser: string) {
  18. // Dummy.
  19. }
  20. /**
  21. * Opens {@link PageReloadDialog}.
  22. *
  23. * @returns {Function}
  24. */
  25. export function openPageReloadDialog() {
  26. return openDialog(PageReloadDialog);
  27. }