Type definitions for JS SDK REST API Bitrix24
Install from bitbucket repo:
yarn install --save-dev git@bitbucket.org: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 - info@b24.help - https://www.b24.help
email: info@b24.help