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

ac-mobile-locale

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ac-mobile-locale

## 何时使用

  • 0.0.10
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
11
increased by120%
Maintainers
1
Weekly downloads
 
Created
Source

手机国际化 AcMobileLocale

何时使用

手机号国际化

如何使用

$ ynpm install @yonyou/ac-mobile-locale --save-dev

引入

import AcMobileLocale from '@yonyou/ac-mobile-locale';

样式引入

import '@yonyou/ac-mobile-locale/dist/index.css';

代码演示

API

参数说明类型返回值是否必填
className容器样式string---
disabled是否可用bool------
accountInfo语种列表array---
selectContryPhoneCode默认显示语种object---
mobile默认显示手机号string---
mobileChangeHandle改变语种和输入手机号改变functionarg1:输入的手机号,arg2: 选中的语种
placeholder输入框的placeholderstring--
errorMessageform表单提交错误时的报错提示string--
inputId输入框的key 默认是mobilestring--
form传入form需要表单校验,否则不需要校验string--

注意事项

暂无

更新日志

FAQs

Package last updated on 03 Apr 2019

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