@baic/yolk-mobile-ui
TypeScript icon, indicating that this package has built-in type declarations

1.0.66 • Public • Published

@baic/yolk-mobile-ui

Image

图片组件

Loading

absolute的加载组件

Required

必填组件

Iconfont

与Provider配合的iconfont资源组件

QrCode

二维码组件

API

参数 说明 类型 默认值
value 转换二维码字符串 string -

BarCode

条形码组件

API

参数 说明 类型 默认值
value 转换条形码字符串 string -

TimerButton

倒计时按钮

API

参数 说明 类型 默认值
formatter 倒计时内容格式化 function -
onClick 点击事件 function -
onBeforeClick 点击触发前事件 function -
time 倒计时时间 number -

InputItem

输入组件

NumberInputItem

数字输入组件

TextareaItem

输入组件

Config

用户使用组件的上下文配置

API

参数 说明 类型 默认值
edit 是否可编辑 boolean -

Provider

用于当前库的全局默认定义

API

参数 说明 类型 默认值
inputMaxLength 输入组件默认长度 number -
textareaMaxLength 输入组件默认长度 number -
iconfontScriptUrl Iconfont资源来源 string | string[] -
itemLabelNumber Item组件的labelNumber number -
pickerItemWrap PickerItem的wrap属性 boolean -
itemShowError Item组件的showError boolean -
itemOnErrorClick Item组件的onErrorClick function -

RouterTransition

路由变换

API

参数 说明 类型 默认值
history history对象 History -

Util

yolk-mobile的Util扩展

Util.previewImage({urls: string[], current?: string});

预览图片

Readme

Keywords

none

Package Sidebar

Install

npm i @baic/yolk-mobile-ui

Weekly Downloads

2

Version

1.0.66

License

MIT

Unpacked Size

116 kB

Total Files

67

Last publish

Collaborators

  • baic