@soapboxsocial/minis.js
v2.3.0
Published
TypeScript SDK to build Soapbox Minis.
Downloads
4
Readme
minis.js
TypeScript SDK to build Soapbox Minis.
Table of Contents
Install
$ npm install --save @soapboxsocial/minis.js
OR
$ yarn add @soapboxsocial/minis.js
API
Table of Contents
getUser
Get the current user of the Mini
Returns Promise<User>
getMembers
Get all of the users in a Soapbox room
getRoom
Get the details of the Soapbox room
Returns Promise<Room>
onClose
Function to handle when an app is closed, can be used for app state cleanup.
Parameters
callback
Function
Building a Mini
If you want to build your own Soapbox Mini or have an idea that you'd like to run past us, send us an email.