JSPM

@polyv/interactions-receive-sdk-ui-default

0.11.1-beta.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 413
  • Score
    100M100P100Q91395F

Default UI components to show Polyv live interactions

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@polyv/interactions-receive-sdk-ui-default) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    互动功能接收端 UI 组件

    概述

    本项目是保利威直播互动功能接收端(观众端)的 UI 组件,基于 Vue.js 2.6.x 编写,开发人员可以直接使用本组件或基于本组件进行定制。

    如果您使用的是 React、Angular 等其他框架,可以参照本组件源代码和 SDK 文档自行实现对应的界面。

    注意,部分功能在 UI 设计稿中是以模态框(Modal)形式呈现的,但本组件仅提供主体内容部分,请自行实现外层模态框(或以其他形式展现),并根据对应组件的事件去控制可见性。

    使用

    安装

    npm i @polyv/interactions-receive-sdk @polyv/interactions-receive-sdk-ui-default

    前者为 SDK,后者为 UI 组件。

    配置 SDK

    请参考互动功能接收端 SDK「引入」「初始化」说明。

    在 SDK 初始化完毕后,再加载组件。

    组件调用

    具体使用请参考各组件文档的「引入」及「使用方式」等章节。

    组件文档

    完成SDK的配置后,即可进行各SDK模块的实例化,搭配本项目各组件进行使用。 具体见各功能组件详细文档。