@mintjamsinc/vue-selection

    1.4.0 • Public • Published

    vue-selection

    A reusable Selection component for Vue.js 2.x used by webtop applications.

    Installation

    npm install --save-dev @mintjamsinc/vue-selection

    Usage

    <Selection
      ref="tags"
      :multiple="true"
      maxLabelWidth="10em"
      v-hook="{inserted: onTagsLoad}"/>
    import Selection from '@mintjamsinc/vue-selection';
    
    export default {
      components: {
        Selection,
      },
      methods: {
        onTagsLoad() {
          // let ui = vm.$refs.tags.ui;
          // ui.getIdentifier = function(o) {};
          // ui.getAuthorizable = function(o) {};
          // ui.getItem = function(o) {};
          // ui.getIcon = function(o) {};
          // ui.getLabel = function(o) {};
          // ui.comparator = function(a, b) {};
          // ui.onChanged = function() {};
          // ui.objects = ...
          // ui.selection = ...
        },
      },
    }

    License

    MIT

    Copyright (c) 2021 MintJams Inc.

    Install

    npm i @mintjamsinc/vue-selection

    DownloadsWeekly Downloads

    1

    Version

    1.4.0

    License

    MIT

    Unpacked Size

    437 kB

    Total Files

    6

    Last publish

    Collaborators

    • mintjams-bot
    • kenichif