piview
TypeScript icon, indicating that this package has built-in type declarations

3.6.98 • Public • Published

piView

基于iview修改.

piView

基于iview修改.

iView NPM downloads NPM downloads JS gzip size CSS gzip size Join the chat at https://gitter.im/iview/iview Backers on Open Collective Sponers on Open Collective

Special Sponsors

If you'd like be a sponsor, to show your ads in GitHub and iView doc, please email admin@aresn.com to get more infomation.

Docs

3.x | 2.x | 1.x

If your company or products use iView, welcome to click here to leave a message.

Install

We provide an iView plugin for Vue CLI 3, which you can use to quickly build an iView-based project.

We also provide a starter kit iview-project for you.

Install iView

Using npm:

npm install piview --save

Using a script tag for global use:

<script type="text/javascript" src="iview.min.js"></script>
<link rel="stylesheet" href="dist/styles/iview.css">

You can find more info on the website.

Usage

<template>
    <Slider v-model="value" range />
</template>
<script>
    export default {
        data () {
            return {
                value: [20, 50]
            }
        }
    }
</script>

Using css via import:

import 'piview/dist/styles/iview.css';

Changed

  • Input textarea add props:isCharNum Input clearable changed true
  • Select clearable changed true
  • Switch add props beforeChange,去掉 true-value false-value 类型强校验
  • Tree add methods getIndeterminateNodes,getAllNodes,add props clicks & @click
  • InputNumber add slot append,pread,edit prop value is Number,String ,enable empty
  • Radio add props beforeChange
  • uploader add formates and onPreview add types
  • uploader list add listItemDel props
  • Modal change style center
  • badge add props color
  • datapicker add on-clear methods
  • steps add slot arrow
  • table add no-data slot
  • checkbox add event @on-click
  • checkbox add vertical props
  • progress add successNum props -- sub-menu add isOnlyOpen props控制展开后是否可以继续关闭

Community

If you want to contribute or have questions or bugs to report:

Questions: Find other users at the Gitter chat or post on StackOverflow using [iview-ui] tag
Bugs: File a issue here - please provide a example so we can help you better
Contribute: Contact us in Gitter chat, WeChat or via mail to admin@aresn.com. PRs welcome!

Major Contributors

Ecosystem Links

Sponsors

Backers

License

MIT

Copyright (c) 2016-present, iView

Package Sidebar

Install

npm i piview

Weekly Downloads

3

Version

3.6.98

License

MIT

Unpacked Size

11 MB

Total Files

561

Last publish

Collaborators

  • hejiachao2019