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.

Page Location

inGlobalArea – Returns whether a Bric is located in a Global Area.

Accounts

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

Updated on 28th August 2025

Was this article helpful?

Related Articles