1. Home
  2. Developers
  3. Custom Bric Global Variables

Custom Bric Global Variables

All custom Brics can access a set of Javascript global variables within the Bric sandbox environment. These variables can be used in conjunction with the Javascript logic of a custom Bric.

Application

blocsAppVersion – Returns current Blocs application version.
activeBreakpoint – Returns active breakpoint.

Project

activeFramework – Returns project framework version.

Accounts

twitterUsername – Returns Twitter username (Project Settings).
facebookUsername – Returns Facebook username (Project Settings).

Updated on 19th January 2023

Was this article helpful?

Related Articles