Multiple Select

Multiple Select

  • Getting started
  • Documentation
  • Examples
  • Vue Component
  • Vue Examples
  • Online Editor
  • GitHub

›Documentation

Documentation

  • Options
  • Events
  • Methods
  • Localizations
  • Themes

Events

The events API of Multiple Select.

To use event syntax:

$('#select').multipleSelect({
  onEventName: function (arg1, arg2, ...) {
    // ...
  }
})

Example: The Event

onOpen

  • Parameter: -

  • Detail: Fires when the dropdown list is open.

onClose

  • Parameter: -

  • Detail: Fires when the dropdown list is closed.

onCheckAll

  • Parameter: -

  • Detail: Fires when all the options are checked by clicking the "Select all" checkbox or when the "checkAll" method is programmatically called.

onUncheckAll

  • Parameter: -

  • Detail: Fires when all the options are unchecked by either clicking the "Select all" checkbox or when the "uncheckAll" method is programmatically called.

onFocus

  • Parameter: -

  • Detail: Bind an event handler to the "focus".

onBlur

  • Parameter: -

  • Detail: Bind an event handler to the "blur".

onOptgroupClick

  • Parameter: view

  • Detail: Fires when a an optgroup label is clicked on. The view parameter is an object, it contains label, selected, children, data, the children contains text, value, selected, disabled, data.

onBeforeClick

  • Parameter: view

  • Detail: Fires before a checkbox is clicked. The view parameter is an object, it contains text, value, selected, data. Return false to prevent the click event.

onClick

  • Parameter: view

  • Detail: Fires when a checkbox is checked or unchecked. The view parameter is an object, it contains text, value, selected, data.

onClear

  • Parameter: -

  • Detail: Fires when clicking the clear icon.

onFilter

  • Parameter: text

  • Detail: Fires after the Multiple Select is on the filter.

onAfterCreate

  • Parameter: -

  • Detail: Fires after the Multiple Select is created.

← OptionsMethods →
  • onOpen
  • onClose
  • onCheckAll
  • onUncheckAll
  • onFocus
  • onBlur
  • onOptgroupClick
  • onBeforeClick
  • onClick
  • onClear
  • onFilter
  • onAfterCreate
  • GitHub
  • Twitter
  • My website
  • My repos
  • Email
Copyright © 2010-2025 wenzhixin.net.cn