Description

Select settings.

Hierarchy

  • ICgSelect

Implemented by

Properties

closeOnSelect?: boolean

An optional parameter that is responsible for the behavior of the select when opening, if closeOnSelect: false, then when an element is selected in the selector, closing does not occur, and you can select another element by default, closeOnSelect:true.

theme?: string

An optional parameter responsible for switching between different themes, the classic theme is set by default.

event?: string

An optional parameter that is responsible for the behavior of the select, passing to this parameter an event of the 'mouseenter' type, select will open on hover.

items?: any

*Required parameter (if no other way to get data (url) is specified), this is an array of elements, which will be displayed in the select when selected.

lable?: string

An optional parameter that adds a lable before the select.

language?: string

Optional parameter responsible for the localization of some text elements.

listDisplayMode?: boolean

An optional parameter that is responsible for the behavior of the select when opening.

multiselect?: boolean

An optional parameter, which is responsible for the behavior of the select, adds the ability to select multiple elements. Selected elements are rendered as plain text, separated by commas.

multiselectTag?: boolean

An optional parameter that is responsible for the behavior of the select, for him, *** works only in a place with a multiselect connection.

nativeSelectMode?: boolean

An optional parameter that is responsible for the behavior of the select when opened on mobile devices.

placeholder?: string

Placeholder optional parameter to which the text of the select placeholder is passed.

searchMode?: boolean

An optional parameter that adds a live search on the select elements.

selected?: string

An optional parameter, which is passed the element that will be selected initially in the select.

selector?: string

Unique selector - *mandatory parameter (indicator) that is set when creating a select.

styles?: IStyle

An optional parameter that is responsible for customizing the select elements, objects with CSS properties for customizable elements are passed to it.

url?: string

Required parameter (if no other way to get data (items) is specified), data that comes from the backend in the format { id: "", title: "", value: ""}.

Generated using TypeDoc