Callbacks
Callbacks are used as handlers for GetComplied actions.
Action | Description | Example | Data |
Initialize | Triggers when GetComplied is initialized | getComplied.callback.oninit = function(){ /* your code goes here */ } | |
Load | Triggers when GetComplied loads documents and user permissions | getComplied.callback.onload = function(data){ /* your code goes here */ } | Consents list |
Open | Triggers when GetComplied is openned | getComplied.callback.onopen = function(){ /* your code goes here */ } | |
Close | Triggers when GetComplied is closed | getComplied.callback.onclose = function(){ /* your code goes here */ } | |
Language change | Triggers when user changes language | getComplied.callback.onlangchange = function(data){ /* your code goes here */ } | language code ("en-GB", "pt-PT"...) |
Save | Triggers when user approves consents | getComplied.callback.onsave = function(data){ /* your code goes here */ } | Consents list |
Input initialize | Triggers when an input is initialized | getComplied.callback.oninputinit = function(data){ /* your code goes here */ } | InputName |
Input change | Triggers when user changes his consent | getComplied.callback.oninputchange = function(data){ /* your code goes here */ } | InputName
Value (true / false) |
Input lock | Triggers when submit button after submission input should or should not be disabled. | getComplied.callback.oninputlock = function(data){ /* your code goes here */ } | InputName
Lock (true / false) |
Last modified 3yr ago