JS: add oldBottomMargin, oldHeight & bottomMargin

This commit is contained in:
王劲鹏
2021-03-30 11:30:59 +08:00
committed by osborn
parent ad29f284cd
commit f16b8b8125
6 changed files with 26 additions and 4 deletions

View File

@@ -1,6 +1,9 @@
import { BridgeContext } from "../runtime/global";
export declare function keyboard(context: BridgeContext): {
subscribe: (callback: (data: {
oldBottomMargin: number;
oldHeight: number;
bottomMargin: number;
height: number;
}) => void) => Promise<string>;
unsubscribe: (subscribeId: string) => Promise<any>;