Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

LargeContainer.js 1.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. /**
  2. * Base class for all Large containers which we can show.
  3. */
  4. export default class LargeContainer {
  5. /**
  6. * Show this container.
  7. * @returns Promise
  8. */
  9. show () {
  10. }
  11. /**
  12. * Hide this container.
  13. * @returns Promise
  14. */
  15. hide () {
  16. }
  17. /**
  18. * Resize this container.
  19. * @param {number} containerWidth available width
  20. * @param {number} containerHeight available height
  21. * @param {boolean} animate if container should animate it's resize process
  22. */
  23. // eslint-disable-next-line no-unused-vars
  24. resize (containerWidth, containerHeight, animate) {
  25. }
  26. /**
  27. * Handler for "hover in" events.
  28. */
  29. onHoverIn (e) { // eslint-disable-line no-unused-vars
  30. }
  31. /**
  32. * Handler for "hover out" events.
  33. */
  34. onHoverOut (e) { // eslint-disable-line no-unused-vars
  35. }
  36. /**
  37. * Update video stream.
  38. * @param {JitsiTrack?} stream new stream
  39. * @param {string} videoType video type
  40. */
  41. setStream (stream, videoType) { // eslint-disable-line no-unused-vars
  42. }
  43. /**
  44. * Show or hide user avatar.
  45. * @param {boolean} show
  46. */
  47. showAvatar (show) { // eslint-disable-line no-unused-vars
  48. }
  49. /**
  50. * Whether current container needs to be switched on dominant speaker event
  51. * when the container is on stage.
  52. * @return {boolean}
  53. */
  54. stayOnStage () {
  55. }
  56. }