DesktopSelectpicker

DesktopSelectpicker

Bootstrap Select picker that supports single and multiple selects A port of https://github.com/silviomoreto/bootstrap-select

Constructor

new DesktopSelectpicker()

Source:

Extends

Members

(static) list :boolean

Source:
Type:
  • boolean

(static) selector :string

Source:
Type:
  • string

(readonly) downloadButtonHtml :Element

Source:
Inherited From:

Returns a HTML document fragment for a download button.

Type:
  • Element

(readonly) originalInputValue :*

Source:
Overrides:

Obtains the value from the original form control the widget is instantiated on. This form control is often hidden by the widget.

Type:
  • *

(readonly) props :object

Source:
Inherited From:

Returns widget properties. May need to be extended.

Type:
  • object

(readonly) resetButtonHtml :Element

Source:
Inherited From:

Returns a HTML document fragment for a reset button.

Type:
  • Element

(readonly) value :*

Source:
Overrides:

Obtains the value from the current widget state. Should be overridden.

Type:
  • *

Methods

(static) condition() → {boolean}

Source:
Returns:

Whether additional condition to instantiate the widget is met.

Type
boolean

_clickListener()

Source:

Handles click listener

_focusListener()

Source:

Handles focus listener

_getLisHtml()

Source:

Generates HTML text for

  • elements

  • _getProps() → {object}

    Source:
    Inherited From:

    Not meant to be overridden, but could be. Recommend to extend get props() instead.

    Returns:

    props object

    Type
    object

    _getTemplate() → {Element}

    Source:
    Returns:

    HTML fragment

    Type
    Element

    _init()

    Source:
    Overrides:

    Meant to be overridden, but automatically called.

    _showSelected(el)

    Source:

    Update text to show in closed picker

    Parameters:
    Name Type Description
    el Element

    HTML element to show text in

    disable()

    Source:
    Overrides:

    Disables widget

    enable()

    Source:
    Overrides:

    Enables widget

    update()

    Source:
    Overrides:

    Updates widget