Select With Autocomplete Slots Bootstrap Material Design Themes

Flexible selection is to select using autocomplete, aperture, smoothing, and material design attributes.

javascript select option value, select option in javascript, javascript select option set selected, javascript set selected option by text

Features

  • no dependencies
  • Props allow you to customize a component in different ways
  • Slots allow content to be changed anywhere
  • Events will let you know everything
  • Autocomplete (you can use custom search, you can also disable search entry)
  • Keyboard controls (not only through the arrows)
  • Support on mobile devices
  • Authentication, Error Status, and Success
  • Disabled and read-only
  • Small and large sizes (as on the boot)
  • With the ability to set your own styles, you can write a theme from scratch. 2 Themes:
  • Bootstrap 4 (Equal Styles), Material Design
  • TypeScript support
  • Navigate between tabs
  • SSR (server-side view)
  • Automatically select the appropriate position for the menu if it exceeds the viewport

Accessible Autocomplete Component Vanilla JavaScript

How to make use of it:

Installation:

yarn add vue-cool-select
or 
npm install --save vue-cool-select

1. Import this plugin, CSS (theme), and add a plugin via Vue.use:

import { CoolSelectPlugin } from 'vue-cool-select'

// paste the line below only if you need "bootstrap" theme
import 'vue-cool-select/dist/themes/bootstrap.css'
// paste the line below only if you need "material-design" theme
import 'vue-cool-select/dist/themes/material-design.css'
// you can also import your theme

Vue.use(CoolSelectPlugin)

2. Use inside another component:

import { CoolSelect } from 'vue-cool-select'

export default {
  components: { CoolSelect },
  data () {
    return {
      // simple example of items
      items: ['Item 1', 'Item 2', 'Item 3'],
      // there will be a selected item
      selected: null
    }
  }
}

3. Add to <template>:

<cool-select
  v-model="selected"
  :items="items"
/>

4. Include vue-cool-select on the page.

<script src="https://unpkg.com/vue-cool-select"></script>

<!-- paste the line below only if you need "bootstrap" theme -->
<link rel="stylesheet" href="https://unpkg.com/vue-cool-select/dist/themes/bootstrap.css">
<!-- paste the line below only if you need "material-design" theme -->
<link rel="stylesheet" href="https://unpkg.com/vue-cool-select/dist/themes/material-design.css">

Cool Flexible Select Component, vue cool select Plugin/Github


See Demo And Download

Official Website(iliyaZelenko): Click Here

This superior jQuery/javascript plugin is developed by iliyaZelenko. For extra advanced usage, please go to the official website.

Related Posts

Data-Table-Generator-Tabulator

Interactive Data Table Generator with JS/jQuery and JSON | Tabulator

Tabulator allows you to create interactive tables in seconds from any HTML Table, JavaScript array, AJAX data source, or JSON format data. Just include the library in your…

alert-confirm-prompt-attention-js

Simple Alert, Confirm, Prompt Popup Using Vanilla JavaScript Library | attention.js

JavaScript provides various built-in functionality to display popup messages for different purposes. Attention JS is a vanillaJS plugin used to create a custom alert, confirm, or Prompt…

Bootstrap-4-Sidebar-Menu-Responsive-Template

Bootstrap 4 Sidebar Menu Responsive Template | MDB

Bootstrap Side Navbar – Responsive sidebar template based on the Bootstrap 4 framework. An easy-to-use, totally responsive, Google Material Design impressed aspect navigation for modern web app…

Bootstrap-4-Toast-Notification-Plugin

Lightweight Bootstrap 4 Toast Notification Plugin | BS4 Advanced Toast

A lightweight Bootstrap 4 Toast Notification plugin integrated with JS/jQuery. bs4-toast.js is a JavaScript library that enhances the native Bootstrap toast component with icons, buttons, callbacks, and…

Audio-Visualizations-Wave

How to Create Audio Visualizations with JavaScript | Wave.js

Audio Visualizer Library – wave.js is a vanilla javascript audio visualization library that provides 20+ creative audio visualization effects to bring more engagement to your visitor. Contribute…

bootstrap-5-treeview

Bootstrap 5 Treeview Dynamically Collapsible | bs5treeview

Bootstrap 5 Tree View is a very simple plug-in for creating a basic and elegant Treeview using BS5. For use with Bootstrap 5, the attributes have been…

Leave a Reply

Your email address will not be published. Required fields are marked *