react native 怎么設(shè)置鍵盤類型
1 回答

慕虎7371278
TA貢獻(xiàn)1802條經(jīng)驗 獲得超4個贊
1 2 3 | <TextInput keyboardType="numeric" returnKeyType="search"/> |
決定返回鍵的樣式:
1 2 | returnKeyType enum('default', 'go', 'google', 'join', 'next', 'route', 'search', 'send', 'yahoo', 'done', 'emergency-call') |
決定打開哪種鍵盤,例如,數(shù)字鍵盤:
1 2 3 4 | keyboardType enum('default', "ascii-capable", 'numbers-and-punctuation', 'url', 'number-pad', 'phone-pad', 'name-phone-pad', 'email-address', 'decimal-pad', 'twitter', 'web-search', "numeric") |
- 1 回答
- 0 關(guān)注
- 2582 瀏覽
添加回答
舉報
0/150
提交
取消