Static Functions
12 Sep 20255 minutes to read
Root static functions of MultiSelect Component
createFloatLabel
Function to create Float Label element.
| Parameter | Type | Description |
|---|---|---|
| overAllWrapper | HTMLDivElement |
Overall wrapper of multiselect. |
| searchWrapper | HTMLElement |
Search wrapper of multiselect. |
| element | HTMLElement |
The given html element. |
| inputElement | HTMLInputElement |
Specify the input wrapper. |
| value |
number[] | string[] | boolean[] | object[]
|
Value of the MultiSelect. |
| floatLabelType | FloatLabelType |
Specify the FloatLabel Type. |
| placeholder | string |
Specify the PlaceHolder text. |
Returns void
floatLabelBlur
Function to focus the Float Label element.
| Parameter | Type | Description |
|---|---|---|
| overAllWrapper | HTMLDivElement |
Overall wrapper of multiselect. |
| componentWrapper | HTMLDivElement |
Wrapper element of multiselect. |
| value |
number[] | string[] | boolean[] | object[]
|
Value of the MultiSelect. |
| floatLabelType | FloatLabelType |
Specify the FloatLabel Type. |
| placeholder | string |
Specify the PlaceHolder text. |
Returns void
floatLabelFocus
Function for focusing the Float Element.
| Parameter | Type | Description |
|---|---|---|
| overAllWrapper | HTMLDivElement |
Overall wrapper of multiselect. |
| componentWrapper | HTMLDivElement |
Wrapper element of multiselect. |
Returns void
removeFloating
Function to remove Float Label element.
| Parameter | Type | Description |
|---|---|---|
| overAllWrapper | HTMLDivElement |
Overall wrapper of multiselect. |
| componentWrapper | HTMLDivElement |
Wrapper element of multiselect. |
| searchWrapper | HTMLElement |
Search wrapper of multiselect. |
| inputElement | HTMLInputElement |
Specify the input wrapper. |
| value |
number[] | string[] | boolean[] | object[]
|
Value of the MultiSelect. |
| floatLabelType | FloatLabelType |
Specify the FloatLabel Type. |
| placeholder | string |
Specify the PlaceHolder text. |
Returns void
setPlaceHolder
Function to set the placeholder to the element.
| Parameter | Type | Description |
|---|---|---|
| value |
number[] | string[] | boolean[] | object[]
|
Value of the MultiSelect. |
| inputElement | HTMLInputElement |
Specify the input wrapper. |
| placeholder | string |
Specify the PlaceHolder text. |
Returns void
updateFloatLabelState
Function to update status of the Float Label element.
| Parameter | Type | Description |
|---|---|---|
| value |
string[] | number[] | boolean[] | object[]
|
Value of the MultiSelect. |
| label | HTMLElement |
Float label element. |
Returns void