-
Virtual Try-On Advanced
-
Eyewear Digitization
- Getting started
- Placing an order
- Managing an order
- Delivery
- Photo Delivery on Online Gallery (Widen Web Services)
- My account
- [For "Standard from Photo" clients] place an order
- [For "Premium from CAD 2D and 3D" clients] place an order
- [For "3D Viewer" clients] place an order
- [For Lens Simulation clients] - How to order lens digitization?
-
PD Measurement
-
3D Viewer
-
3D from photo online platform
-
Virtual Try-On Standard
[How to] Set a callback on the VTO?
The VTO module provides several callbacks which correspond to changes of state of the module. All the callbacks are listed in the API Reference > Callbacks.
Setting a callback function to be invoked by one of these callback triggers is done via the instantiation parameters.
var params = {
apiKey: '...',
defaultMode: 'live',
...
// via lambda
onLiveStatus: (data) => {
},
// via function pointer
onStopVto: hideVTO,
}
fitmixInstance = FitMix.createWidget('my-fitmix-container', params, function() {});
function hideVTO() {
// Your code to hide the VTO
}