API 参考
正在准备搜索索引…

TextInputCallbacks

原生文本输入生命周期的可选显式宿主回调。

interface TextInputCallbacks {
    onActivate?: (input: null | TextInputContext) => void;
    onDeactivate?: (input: null | TextInputContext) => void;
    onDestroy?: (input: TextInputContext) => void;
}
源码与继承
成员目录3

属性

属性

onActivate?: (input: null | TextInputContext) => void

同步 OnActivate。

类型声明

源码与继承
onDeactivate?: (input: null | TextInputContext) => void

同步 OnDeactivate。

类型声明

源码与继承
onDestroy?: (input: TextInputContext) => void

原生销毁后调用。

类型声明

源码与继承

Icons made by Lorc, Delapouite & Skoll · game-icons.net · CC BY 3.0