Class: blueprintjs.MinimalSelect

blueprintjs.blueprintjs.MinimalSelect(container, itemToText, itemToLabel, itemPredicate, itemCreate)

A skeleton to ease the creation of a minimal Blueprintjs select element.

Constructor

new blueprintjs.MinimalSelect(container, itemToText, itemToLabel, itemPredicate, itemCreate)

Parameters:
Name Type Description
container Element

the parent element.

itemToText function

a function that maps an item to the text to be displayed (optional).

itemToLabel function

a function that maps an item to the label to be displayed (optional).

itemPredicate function

a function that filters the internal list of items when user enters something in the input (optional).

itemCreate function

a function that creates an item from a string (optional).

Source:

Extends

  • blueprintjs.Blueprintjs