您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

actions.web.js 450B

1234567891011121314151617181920
  1. // @flow
  2. import VideoLayout from '../../../modules/UI/videolayout/VideoLayout';
  3. import { TOGGLE_CHAT } from './actionTypes';
  4. export * from './actions.any';
  5. /**
  6. * Toggles display of the chat side panel while also taking window
  7. * resize into account.
  8. *
  9. * @returns {Function}
  10. */
  11. export function toggleChat() {
  12. return function(dispatch: (Object) => Object) {
  13. dispatch({ type: TOGGLE_CHAT });
  14. VideoLayout.onResize();
  15. };
  16. }