JSPM

color-picker-v

0.1.4
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 19
    • Score
      100M100P100Q29726F

    Package Exports

    • color-picker-v

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (color-picker-v) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    color-picker-v

    基于vue颜色选择器

    Installation

    yarn add color-picker-v
    
    or
    
    npm  install  color-picker-v

    import

    import ColorPicker from 'color-picker-v';
    import 'color-picker-v/dist/ColorPicker.css';
    Vue.use(ColorPicker);

    Usage

    <template>
          <ColorPicker v-model="color"/>
    </template>
    <script>
        export default {
            data () {
                return {
                    color:'#38acfa'
                }
            }
        }
    </script>