This page is only relevant for the Ionic web platform.
*.
Fields masked automatically
Password fields and fields whoseautocomplete attribute contains current-password, new-password, one-time-code, cc-number or cc-csc are always masked, in screenshots from JavaScript SDK 18.1.1. Earlier versions included the values of password fields in the page snapshot behind a screenshot, so make sure your app resolves the gleap package to 18.1.1 or later.
Mask a field
Add the classrr-mask to a field, or to an element that contains fields, to mask their values:
Hide an element
Add the classrr-block to hide an element and everything inside it:
Class names from older versions
This page used to documentgl-mask and gl-block. From JavaScript SDK 18.1.1, gl-mask masks fields like rr-mask; earlier versions did not mask the values of gl-mask fields. Screenshots render gl-block areas blank, but replays stopped blocking them in JavaScript SDK 16.2.5, so use rr-block instead.
For all options, see Privacy controls in the JavaScript SDK documentation.