activationMode
is set to custom
, you have the flexibility to programmatically control the opening and closing of the plugin. This allows you to tailor the plugin’s behaviour according to the specific needs and conditions of your application.
<script>
just before the closing </body>
tag of your HTML:
signapseMount()
: Opens the plugin.signapseUnmount()
: Closes the plugin.window
object, so they can be called directly from your JavaScript code.
signapseMount()
or signapseUnmount()
functions are invoked on these not allowed pages, they will silently fail and do nothing.signapseMount()
, it will remain active for the duration of the session (until your web browser is closed) on all other “translated” pages until signapseUnmount()
is called. This ensures that when navigating between translated pages, you automatically see the translation plugin open.