Permalink
Browse files

feat(modal): add `modalClass` property to `bModal` (#1682)

  • Loading branch information...
RomeroMsk authored and pi0 committed Mar 15, 2018
1 parent 77244da commit c7a10ef7c076e724709d13c71856fa05d321390c
Showing with 8 additions and 3 deletions.
  1. +2 −2 src/components/modal/README.md
  2. +6 −1 src/components/modal/modal.js
@@ -407,8 +407,8 @@ export default {
<!-- modal-variant-1.vue -->
```

You can also apply abritrary classes to the modal header, body and footer via the
`header-class`, `body-class` and `footer-class` props, respectively. The props
You can also apply abritrary classes to the modal container, header, body and footer via the
`modal-class`, `header-class`, `body-class` and `footer-class` props, respectively. The props
accept either a string or array of strings.

## Lazy loading
@@ -320,6 +320,10 @@ export default {
type: String,
default: null
},
modalClass: {
type: [String, Array],
default: null
},
bodyClass: {
type: [String, Array],
default: null
@@ -412,7 +416,8 @@ export default {
fade: !this.noFade,
show: this.is_show,
'd-block': this.is_block
}
},
this.modalClass
]
},
dialogClasses () {

0 comments on commit c7a10ef

Please sign in to comment.