Socket
Book a DemoInstallSign in
Socket

tplus-components-touch

Package Overview
Dependencies
Maintainers
1
Versions
1462
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tplus-components-touch

### keyboard 键盘 1. 分五类:两个only, 只是弹框. (1) type='only' OnlyKeyboard 单独的键盘弹框, 需要传入 type, value, visible, onChange, handleOk, handleCancel; (2) type='onlytext' OnlyTextKeyboard 单独的键盘弹框, 需要传入 type, value, visible, title, handleOk, handleCancel; (3) type=

latest
npmnpm
Version
1.27.2
Version published
Maintainers
1
Created
Source

tplus-components-touch

keyboard 键盘

  • 分五类:两个only, 只是弹框. (1) type='only' OnlyKeyboard 单独的键盘弹框, 需要传入 type, value, visible, onChange, handleOk, handleCancel; (2) type='onlytext' OnlyTextKeyboard 单独的键盘弹框, 需要传入 type, value, visible, title, handleOk, handleCancel; (3) type='letter' LetterKeyboard => (input + only) value, onChange, handleOk, handleCancel; (4) type='number' NumberKeyboard 数字+输入框 value, handleOk ; (5) type='text' TextKeyboard => (onlytext + div) title, value, handleOk, handleCancel;
  • LetterKeyboard 与 TextKeyboard 是 Model 对话框, NumberKeyboard 是 Popover 气泡卡片;
  • LetterKeyboard 有 suffix 属性, 则有后缀 icon, 点击召唤键盘;

product 商品 (业务组件)

  • 一级菜单、二级菜单使用 swiper 组件;
  • 一级菜单中 常用、全部, 由接口返回, 对应 id 为 -2、-1;
  • 查询条码的输入框, 时间间隔为1s, 实时查询, 使用 LetterKeyboard, key 与 id 互斥;
  • <Product onClick={(value) => {console.log(value)}} />

FAQs

Package last updated on 19 Aug 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts