選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

LargeContainer.js 1.2KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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. resize (containerWidth, containerHeight, animate) {
  24. }
  25. /**
  26. * Handler for "hover in" events.
  27. */
  28. onHoverIn (e) {
  29. }
  30. /**
  31. * Handler for "hover out" events.
  32. */
  33. onHoverOut (e) {
  34. }
  35. /**
  36. * Update video stream.
  37. * @param {JitsiTrack?} stream new stream
  38. * @param {string} videoType video type
  39. */
  40. setStream (stream, videoType) {
  41. }
  42. /**
  43. * Show or hide user avatar.
  44. * @param {boolean} show
  45. */
  46. showAvatar (show) {
  47. }
  48. /**
  49. * Whether current container needs to be switched on dominant speaker event
  50. * when the container is on stage.
  51. * @return {boolean}
  52. */
  53. stayOnStage () {
  54. }
  55. }