Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

actions.web.ts 842B

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