@lynx-js/react / DataProcessors
The data processors that registered with Lynx.registerDataProcessors.
Extending dataProcessors interface
Then you can use lynx.registerDataProcessors with types.
[processorName: string]: (...args: any[]) => any
Optional processor to override screen metrics used by the app
| Parameter | Type | Description |
|---|---|---|
metrics | object | The physical screen dimensions in pixels |
metrics.height | number | The physical pixel height of the screen |
metrics.width | number | The physical pixel width of the screen |
object
New screen dimensions to be used by the app
@lynx-js/react/runtime/lib/lynx-api.d.ts:212