UNPKG

bootstrap-vue

Version:

BootstrapVue, with more than 85 custom components, over 45 plugins, several 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 W

99 lines (98 loc) 3.13 kB
{ "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": "size", "settings": true, "description": "Set the size of the component's appearance. 'sm', 'md' (default), or 'lg'" }, { "prop": "variant", "settings": true, "description": "Applies one of the Bootstrap theme color variants to the component" }, { "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 and adds attribute 'aria-pressed=\"true\"'. When set to `false` adds attribute 'aria-pressed=\"false\"'. Tri-state prop. 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", "settings": true, "version": "2.3.0", "description": "The content of the close button" }, { "prop": "textVariant", "settings": true, "description": "Applies one of the Bootstrap theme color variants to the text" }, { "prop": "ariaLabel", "settings": true, "description": "Sets the value of 'aria-label' attribute on the rendered element" } ], "events": [ { "event": "click", "description": "Emitted when non-disabled button clicked", "args": [ { "name": "event", "type": "MouseEvent", "description": "Native click event object" } ] } ] } ] } }