Skip to main content
Version: 5.x.x


// name of attribute, which is used on html elements
// that are active for user to click in-context
const TOLGEE_ATTRIBUTE_NAME = '_tolgee';

// use this attribute on any html element with translation key
// and it will be in-context clickable
const TOLGEE_WRAPPED_ONLY_DATA_ATTRIBUTE = 'data-tolgee-key-only';

// use this attribute when you want to disable tolgee observer
// on html element and all it's children
const TOLGEE_RESTRICT_ATTRIBUTE = 'data-tolgee-restricted';