message.d.ts 779 B

123456789101112131415161718192021222324
  1. /**
  2. * 弹出输入框,输入文字
  3. * @param message 提示文字
  4. * @param defaultValue 默认值
  5. * @param multiLine 是否多行输入
  6. */
  7. export declare function prompt(message: any, defaultValue?: string, multiLine?: boolean): Promise<string>;
  8. /**
  9. * 显示错误异常信息
  10. * @param msg 错误内容
  11. * @param sender 发送者按钮(可以为空)
  12. */
  13. export declare function showErrorDialog(msg: any, sender?: any): void;
  14. /**
  15. * 显示错误异常信息
  16. * @param msg 错误内容
  17. * @param sender 发送者按钮(可以为空)
  18. */
  19. export declare function showInfoDialogSimple(msg: any, sender?: any): void;
  20. export declare function msgError(msg: any, sender?: any): void;
  21. /**
  22. * 中间灰底白字提示
  23. */
  24. export declare function msg(message: string): void;