Skip to main content

Snapshot

To enable the ability to generate an image of the current view of the ATLATL Visual Component we can add an <av-snapshot> tag, as a child of the <av-native-ui> tag:

<atlatl-visual ...>
<av-product ...></av-product>
<av-native-ui>
<av-snapshot native-button />
</av-native-ui>
</atlatl-visual>

This will create a “snapshot” icon button in the bottom corner of your Visual Component window that displays a modal when clicked. This modal contains a few final parameters that the user can set before saving the snapshot image to their device.