Skip to content

Dropdown Text Box

darrenlean edited this page Jul 1, 2020 · 4 revisions

Dropdown Text Box

The iv-dropdown-text-box is a button allows users to display/hide a text box.
It is possible to disable the dropdown.

Usage

Dropdown Textbox Dropdown Textbox Dropdown Textbox

API

Props

Name: buttonText
Type: String
Default: "Click me"
Description: The string for the button content
Name: dropdownText
Type: String
Default: "Add text"
Description: The string for the text box content
Name: dropdownDisabled
Type: Boolean
Default: false
Description: Disable the dropdown button

Events

Name: dropdownclicked
Description: Emitted when the dropdown button is clicked
Value: click event

Clone this wiki locally