#
Reset Component Options
In
#
Usage
Resets/empties the options in any set select
component(s).
#
Syntax
webclient.resetInCallComponentOptions(payload: Object): Promise
#
Arguments
#
Sample Javascript
import IpscapeWebClient from '@ipscape/web-client';
// Create a new instance of the IpSCAPE Web Client
const webClient = new IpscapeWebClient();
webclient.resetInCallComponentOptions().then((eventData) => {
if (eventData.success)
console.log('components: reset', eventData);
else
console.error('component: error', eventData.message);
});
#
Response
This method returns a promise. The resolved response is returned in an object and contains the following: