@gitlab/ui
Version:
GitLab UI Components
34 lines (30 loc) • 888 B
JavaScript
import examples from './examples/form_input';
var description = "# Form Input\n\nGeneral user input to be used in forms.\n";
var form_input_documentation = {
description,
examples,
bootstrapComponent: 'b-form-input',
followsDesignSystem: true,
propsInfo: {
size: {
additionalInfo: 'Maximum width of the input',
enum: 'formInputSizes'
}
},
events: [{
event: 'input',
args: [{
arg: 'value',
description: '(String)'
}],
description: 'Emitted to update the v-model'
}, {
event: 'update',
args: [{
arg: 'value',
description: '(String)'
}],
description: `Triggered by user interaction. Emitted after any formatting (not including 'trim' or 'number' props). Useful for getting the currently entered value when the 'debounce' or 'lazy' props are set.`
}]
};
export default form_input_documentation;