You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

actions.js 405B

12345678910111213141516171819
  1. import {
  2. SET_FILMSTRIP_VISIBILITY
  3. } from './actionTypes';
  4. /**
  5. * Sets if the entire filmstrip should be visible.
  6. *
  7. * @param {boolean} visible - Whether not the filmstrip is visible.
  8. * @returns {{
  9. * type: SET_FILMSTRIP_VISIBILITY,
  10. * visible: boolean
  11. * }}
  12. */
  13. export function setFilmstripVisibility(visible) {
  14. return {
  15. type: SET_FILMSTRIP_VISIBILITY,
  16. visible
  17. };
  18. }