@lynx-js/react / DataProcessors
接口: 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
方法
getScreenMetricsOverride()?
Optional processor to override screen metrics used by the app
参数
返回
object
New screen dimensions to be used by the app
height
width
示例
定义于
@lynx-js/react/runtime/lib/lynx-api.d.ts:282