UNPKG

bootstrap-vue

Version:

With more than 85 components, over 45 available plugins, several directives, and 1000+ icons, BootstrapVue provides one of the most comprehensive implementations of the Bootstrap v4 component and grid system available for Vue.js v2.6, complete with extens

133 lines (132 loc) 3.96 kB
{ "name": "@bootstrap-vue/form-select", "version": "1.0.0", "meta": { "title": "Form Select", "description": "Custom <select> component using cross-browser custom styles. Optionally generate <option> entries based on an array, array of objects.", "components": [ { "component": "BFormSelect", "aliases": [ "BSelect" ], "props": [ { "prop": "ariaInvalid", "description": "Optional value to set for the 'aria-invalid' attribute. Supported values are 'true' and 'false'. If not set, the 'state' prop will dictate the value" }, { "prop": "labelField", "description": "The key to use from the option object to get the label" }, { "prop": "multiple", "description": "When set, allows multiple options to be selected (multi-select)" }, { "prop": "optionsField", "description": "The key to use from the option object to get the options" }, { "prop": "selectSize", "description": "When set to a number larger than 0, will set the number of display option rows. Note not all browser will respect this setting" }, { "prop": "size", "description": "Set the size of the component's appearance. 'sm', 'md' (default), or 'lg'" }, { "prop": "value", "description": "Current value of the select. Should be set to an array when the 'multiple' prop is set" } ], "events": [ { "event": "change", "description": "Emitted when the select value changes via user interaction", "args": [ { "arg": "value", "type": [ "String", "Number", "Object", "Array" ], "description": "Current selected value(s) of the select" } ] }, { "event": "input", "description": "Emitted when the select value changes", "args": [ { "arg": "value", "type": [ "String", "Number", "Object", "Array" ], "description": "Current selected value(s) of the select" } ] } ], "slots": [ { "name": "default", "description": "Content to place in the form select" }, { "name": "first", "description": "Slot to place options or option groups above options provided via the 'options' prop" } ] }, { "component": "BFormSelectOption", "version": "2.2.0", "aliases": [ "BSelectOption" ], "props": [ { "prop": "value", "description": "The value of the option" } ], "slots": [ { "name": "default", "description": "Content to place in the form select option" } ] }, { "component": "BFormSelectOptionGroup", "version": "2.2.0", "aliases": [ "BSelectOptionGroup" ], "props": [ { "prop": "label", "description": "The label for the option group" } ], "slots": [ { "name": "default", "description": "Content to place in the form select option group" }, { "name": "first", "description": "Slot to place options above options provided via the 'options' prop" } ] } ] } }