Skip to content

Vue component that transforms overwhelming select boxes into something fancy, simple and user-friendly. It is similar to Selectize, Chosen, Select2, etc. However it was built using Vue.js only ;)

Notifications You must be signed in to change notification settings

firework/fire-select

Repository files navigation

🔥_Fireselect_

Vue component that transforms overwhelming boxes into something fancy, simple and user-friendly. It is similar to Selectize, Chosen, Select2, etc. However it was built using Vue.js only ;) Options name | type | default items | Array | [] An array of the initial available options. multiple | Boolean | false Equivalent to the attribute.

  • create | Boolean | false
    Allows the creation of new items that aren't in the list of options.

  • placeholder | String | 'Type anything to search'
    Placeholder attribute of input.

  • empty-message | String | 'Select an item'
    Placeholder text displayed before an option is selected.

  • animation | Boolean | true
    Show animation when item is selected

  • name | String | fire-select[]
    Name attribute of input

  • id | String | fire-select
    Id attribute of input

  • Events

    Vue.js - Dispatch

    • fsItemAdded When a new item is added.

    • fsItemSelected When a item is selected.

    • fsItemDeselect When a item is deselected.

    export default {
      events: {
            fsItemAdded: function(item) {
                // do something
            },
            ...
        }
    }

    About

    Vue component that transforms overwhelming select boxes into something fancy, simple and user-friendly. It is similar to Selectize, Chosen, Select2, etc. However it was built using Vue.js only ;)

    Resources

    Stars

    Watchers

    Forks

    Releases

    No releases published

    Packages

    No packages published

    Contributors 4

    •  
    •  
    •  
    •