Type definitions for JS SDK REST API Bitrix24
Install from bitbucket repo:
yarn install --save-dev [email protected]:b24help/types-bitrix24-sdk.git
Add <script src="//api.bitrix24.com/api/v1/"></script>
to the html files.
if (window !== window.top) {
window.BX24.init(() => {
global.console.log('Is Admin: ' + window.BX24.isAdmin())
}
}
types-bitrix24-sdk
is licensed under the MIT License
Vladimir Tyrtov - [email protected]
email: [email protected]