New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
increased by33.33%
Maintainers
1
Weekly downloads
 
Created
Source

app-mobile-locale


手机号多语控件

效果 进入示例

$ 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---
accountInfo语种列表array---
selectContryPhoneCode默认显示语种object---
mobile默认显示手机号string---
mobileChangeHandle改变语种和输入手机号改变functionarg1:输入的手机号,arg2: 选中的语种
placeholder输入框的placeholderstring--
errorMessageform表单提交错误时的报错提示string--
inputId输入框的key 默认是mobilestring--
form传入form需要表单校验,否则不需要校验string--
开发调试
$ cd @yonyou/ac-mobile-locale

$ ynpm install

$ npm run dev

FAQs

Package last updated on 23 Jan 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