void BX24.init(Function callback)

Adds a callback function to the list of called handlers when the library has been fully initialized and ready. When initializing, the library requests data from the parent frame. Certain actions like accessing the application settings or current user permission rights, sending REST requests are unavailable until the library has completed initial data exchange with the parent frame.


	console.log('Init done!', BX24.isAdmin());

User Comments

User comments are not part of official documentation. Use information provided by other users in the comments at your own risk.

The User Comments section is not to be used as a feature discussion board. Only registered users can post comments. Your comment will be visible once it has been approved by the moderator.
© «Bitrix Inc.», 2001-2020, «Bitrix Inc.», 2020