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

InputLocale ui component for react

  • 1.11.11
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

ac-input-locale

npm version Build Status Coverage Status devDependency Status NPM downloads Average time to resolve an issue Percentage of issues still open

react ac-input-locale component for tinper-bee

some description...

依赖

  • react >= 15.3.0
  • react-dom >= 15.3.0
  • prop-types >= 15.6.0

使用方法


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

引入

import AcInputLocale from 'ac-input-locale';

样式引入

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

API

参数说明类型返回值是否必填
className容器样式string---
disabled是否可用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 相关联
开发调试
$ npm install -g bee-tools
$ git clone https://github.com/tinper-bee/ac-input-locale
$ cd ac-input-locale
$ npm install
$ npm run dev

Keywords

FAQs

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