input
FunctionFunction in the Lens Scripting API.
- Available on all platforms
Platform details: Snapchat, SPECS, Camera Kit Web, Camera Kit Mobile fully supported.
TypeScript only
Call Signature
input(
typeOverride?,defaultInitializerOverride?): (target,context) =>void
Parameters
| Parameter | Type |
|---|---|
typeOverride? | string |
defaultInitializerOverride? | string |
Returns
(target, context) => void
Call Signature
input(
target,context):void
Parameters
| Parameter | Type |
|---|---|
target | undefined |
context | ClassFieldDecoratorContext |
Returns
void