<Widgets>
- Each Webex Teams Widget represents a single product feature of the Webex Teams clients.
They are built with *React and *Redux, and use the Browser SDK to communicate with the Webex Platform.
: *React : a JavaScript library for building user interfaces
: *Redux : a predictable state container for JavaScript apps. it helps you write applications that behave consistently, run in different environments, and easy to test
- Widget Example
: to add widgets to your web application, it's as easy as including some simple code in your app. in this example, we'll add the Sapce Widget to a page and join a Webex Teams space.
<body>
<div id="my-webexteams-widget" style="width: 500px; height: 500px;"/>
<script>
var widgetEl = document.getElementById('my-webexteams-widget');
// Init a new widget
webex.widget(widgetEl).spaceWidget({
accessTocken: 'ACCESS_TOKEN',
destinationId: 'SPACE_ID',
destinationType: 'spaceId'
});
</script>
</body>
<Reference>
developer.webex.com/docs/widgets
'IT 이야기' 카테고리의 다른 글
스위치 QoS (0) | 2021.06.09 |
---|---|
Data Science (데이터 사이언스) (0) | 2020.12.29 |
Cisco CUCM Partitions vs Calling Search Space (0) | 2020.11.22 |
Web API Authorization Basic vs Bearer vs Digest (0) | 2020.11.22 |
Router "control plane" vs "data plane" (0) | 2020.11.09 |