New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

yingview-form

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

yingview-form

yingview-ui form组件样式

latest
Source
npmnpm
Version
1.0.13
Version published
Maintainers
1
Created
Source

Projec

yingview组件库

#Button 按钮

#参数

	text: '确    定',
	type: 'normal', 'submit', 'cancel'
	className: '',
	style: {},
	onChange: () => { },
	onblur: () => { },
	onFocus: () => { },
	onClick: () => { },

#使用
	<Button
		text='确    定'
		type='normal'
		className=''
		style={}
		onChange=() => { }
		onblur=() => { }
		onFocus=() => { }
		onClick=() => { }
	/>

#Checkbox 复选框

props

名称类型描述
valuestring选中的值
optionsobject选项键值对
onChangefunction改变回调,参数是改变后的 value
readOnlyboolean只读模式
disabledboolean禁用模式
namestringinput 的 name

demo

值2 }} value={['key1']} /> 值2 }} value={['key1']} /> 值2 }} value={['key1']} />

#Input 表单附件

type: 'text','password','number','email','tel'

value: '', fileName: '用户名', className: '', style: {}, sex: 'man', require: false, requireText: '输入格式不正确', placeholder: '请输入内容', maxNumber: '', minNumber: '', maxLength: '', minLength: '', onChange: () => { }, onInput: () => { }, onblur: () => { }, onFocus: () => { }, onClick: () => { },

#使用

#FileUpload 上传附件

text: '附件上传', className: '', accept: [], style: {}, onChange: () => { }, onClick: () => { }

#Pagination

total: 20,
current: 1,
className: '',
style: {},
onChange: () => { },

#Textarea

value: '',

fileName: '备注', className: '', maxLength: 500, style: {}, placeholder: '请输入内容', onChange: () => { }, onblur: () => { }, onFocus: () => { }, onClick: () => { },

Keywords

form Form UI ui

FAQs

Package last updated on 11 Oct 2017

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