Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@aks-dev/easyui

Package Overview
Dependencies
Maintainers
0
Versions
139
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aks-dev/easyui

工具箱

  • 1.0.164
  • latest
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

安装

$ npm install @aks-dev/easyui --save

or

$ yarn add @aks-dev/easyui

screen


  • 禁止文本随系统缩放
import '@aks-dev/easyui/screen/text-fit'
  • px2dp
  • px2sp
  • statusBarHeight
  • navigationBarHeight

ui


  • Badge
  • Hud
  • Modal
  • EchartsView
  • MutiPictureView
  • PictureViewer
  • RefreshList
  • StickHeaderView
  • TableCell
  • TextInputArea
  • WithLoadingContainer
  • DottedLine
  • MenuView
  • RichText
  • ...

utils


函数作用
sleep睡眠
keyboardDismissHandlers通过手势关闭键盘
panHandlersCallback手势动作回调
callTelephone拨打电话
randomcolor获取随机色
syncLoop同步循环
encryptMobilePhoneNumber手机号码加星
isObject判断对象
isArray判断数组
isNumber判断数字
isNull判断null
isUndefined判断undefined
isObjectValueEqual判断两个对象是否相同
deepEqual深度比较两个对象
deepClone深拷贝
isPhoneNumber判断手机号码
toDateFriendly转成友好时间
isChainChar是否包含[a-z]
isHaveChartCount包含[a-z]数量
isHaveNumberCount包含[0-9]数量
isHaveChinese是否包含汉字
isHaveEmojiCharact是否包含表情

jsbridge


函数作用
getAppVersion获取App版本号
upgradeapp升级

Keywords

FAQs

Package last updated on 25 Dec 2024

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc