Skip to main content
Version: v4.0.0

Mobile parameters

You can put specific parameters to mobile devices, to do that, you need to use the mobileConfig property, and put the parameters that will be overwritten. The parameters below are exclusive to mobile devices.

ConfigurationsDescriptionValuesDefault
customButtonStyleDefines one customization to the accessibility button in the mobile version.{borderRadius, size, horizontalMargin, bottomMargin}undefined

See the example below.

Example of exclusives parameters to the Mobile Version

Javascript

var ht = new HT({
// Change it to your access token
token: "TOKEN",
// Position the Websites Translator to the left side of the page.
side: "left",
// When at the mobile, positions the Websites Translator to the right side of the page
mobileConfig: {
side: "right"
}
});

HTML

<body>
<h1>Hand Talk</h1>
<h2>Count on the help of Hugo and Maya, our virtual translator, to make your communication more accessible.</h2>
<p>We offer digital translation to accessibility in Libras, the Brazilian Sign Language.</p>
<!-- Takes the latest version of the Hand Talk Plugin. -->
<script src="https://plugin.handtalk.me/web/latest/handtalk.min.js"></script>
<script>
var ht = new HT({
// Change it to your access token
token: "TOKEN",
// Positions the Websites Translator to the left side of the screen
side: "left",
// When at the mobile, positions the Websites Translator to the right side of the page
mobileConfig: {
side: "right"
}
});
</script>
</body>