bootstrap-vue-msgbox
Modal message with bootstrap 4 based on https://uiv.wxsm.space/message-box for Vue.js
Instalation
$ npm install bootstrap-vue-msgbox
Initiate
Inject plugin to your vue instance by Vue.use then initial it in your component that need to use message box
Default Injection
mainjs Vue
Methods
this this this
Usage
this // Example from the original component: this
Options
Option | Type | Default |
---|---|---|
title | String | Title |
isHtml | Boolean | false |
content | String | Empty |
inputType | String | text |
okText | String | Ok |
okType | String | primary |
cancelText | String | primary |
cancelType | String | default |
validates | Function | () => null |
defaultInputValue | String | `` |
modalSize | String | `` |