Ionic 2警报输入调整大小 [英] Ionic 2 Alerts input resize

查看:123
本文介绍了Ionic 2警报输入调整大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我使用离子2框架,想知道是否有人可以提供帮助。
我试图让警报输入不仅仅是一行或者是textareas而不是只有一行输入任何帮助将不胜感激。
谢谢

So I am using ionic 2 framework and wanted to know if anyone could help. I am trying to have alert inputs be more than just one line or be textareas instead of just one line inputs any help would be appreciated. Thanks

推荐答案

ionic2中的警报组件只支持输入,您无法为输入设置行属性。查看超过1行输入类型文本区域

The alert component in ionic2 just support input and you can not set row property for input. check more-than-1-row-in-input-type-textarea.

而不是 AlertController 文档建议使用模态

这篇关于Ionic 2警报输入调整大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆