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

ac-input-locale

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ac-input-locale

## 何时使用

  • 1.11.2
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

多语输入 AcInputLocale

何时使用

多语输入组件

如何使用

$ ynpm install ac-input-locale --save-dev

引入

import AcInputLocale from 'ac-input-locale';

样式引入

import 'ac-input-locale/dist/index.css';

代码演示

API

参数说明类型返回值是否必填
className容器样式string---
onOk点击确定的钩子函数funobject
onCancel点击取消的钩子函数funObject
locale当前语种string--否 当前语种为空时,默认显示系统语种,若系统语种也为空时,显示zh_CN
sysLocale系统语种string--
localeList语言列表object--
onChange输入框的change的钩子函数funobject
isTextarea是否textarea,默认falsebool--
modalLocale模态框中title、按钮的文字语态object--
inputIdinput的唯一值string--和 form相关联
formthis.props.formobject--和 inputId 相关联

注意事项

设置form,启动表单校验。

更新日志

FAQs

Package last updated on 29 Mar 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