Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Sets the panel width for all the sessions.
Syntax
Microsoft.CIFramework.setWidth(value).then(successCallback, errorCallback);
Parameters
Name | Type | Required | Description |
---|---|---|---|
value | Number | Yes | The width of the panel in pixels. |
successCallback | Function | No | A function to call when the panel width is set successfully. |
errorCallback | Function | No | A function to call when the panel width setting operation fails. |
Note
- If the
value
parameter passed for setWidth is greater than half of screen width, the side panel will collapse. - The width should be greater than or equal to 300. The API doesn't consider any value less than 300.
Return value
Returns a promise object with a value.