getMode (JavaScript API Reference) for Dynamics 365 Channel Integration Framework 1.0
Gets the current state of the panel.
Syntax
Microsoft.CIFramework.getMode().then(successCallback, errorCallback);
Parameters
Name | Type | Required | Description |
---|---|---|---|
successCallback | Function | No | A function to call when the request for the current state of the panel is successful. |
errorCallback | Function | No | A function to call when the request for the current state of the panel fails. |
Return value
Type: String
Description: Returns Promise object with the value (current state of the panel). Returns 0 for minimized mode and 1 for docked mode.
Atsiliepimai
https://aka.ms/ContentUserFeedback.
Jau greitai: 2024 m. palaipsniui atsisakysime „GitHub“ problemų, kaip turiniui taikomo atsiliepimų mechanizmo, ir pakeisime jį nauja atsiliepimų sistema. Daugiau informacijos žr.Pateikti ir peržiūrėti atsiliepimą, skirtą