bootstrap-vue
Version:
BootstrapVue, with over 40 plugins and more than 80 custom components, custom directives, and over 300 icons, provides one of the most comprehensive implementations of Bootstrap v4 components and grid system for Vue.js. With extensive and automated WAI-AR
78 lines (77 loc) • 2.25 kB
JSON
{
"name": "@bootstrap-vue/button",
"version": "1.0.0",
"meta": {
"title": "Button",
"description": "Use BootstrapVue's <b-button> component for actions in forms, dialogs, and more. Includes support for a handful of contextual variations, sizes, states, and more.",
"components": [
{
"component": "BButton",
"aliases": [
"BBtn"
],
"props": [
{
"prop": "block",
"description": "Renders a 100% width button (expands to the width of its parent container)"
},
{
"prop": "type",
"description": "The value to set the button's 'type' attribute to. Can be one of 'button', 'submit', or 'reset'"
},
{
"prop": "pill",
"description": "Renders the button with the pill style appearance when set to 'true'"
},
{
"prop": "squared",
"description": "Renders the button with non-rounded corners when set to 'true'"
},
{
"prop": "pressed",
"description": "When set to 'true', gives the button the appearance of being pressed. Syncable with the .sync modifier"
}
],
"events": [
{
"event": "click",
"description": "Emitted when non-disabled button clicked",
"args": [
{
"name": "event",
"type": "MouseEvent",
"description": "Native click event object"
}
]
}
]
},
{
"component": "BButtonClose",
"aliases": [
"BBtnClose"
],
"props": [
{
"prop": "content",
"version": "2.3.0",
"description": "The content of the close button"
}
],
"events": [
{
"event": "click",
"description": "Emitted when non-disabled button clicked",
"args": [
{
"name": "event",
"type": "MouseEvent",
"description": "Native click event object"
}
]
}
]
}
]
}
}