showIf
FunctionFunction in the Lens Scripting API.
- Available on all platforms
Platform details: Snapchat, SPECS, Camera Kit Web, Camera Kit Mobile fully supported.
TypeScript only
showIf(
showIf,showIfValue?): (target,context) =>void
Parameters
| Parameter | Type |
|---|---|
showIf | string |
showIfValue? | string | number | boolean |
Returns
(target, context) => void