Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Add custom size to modal #62

Closed
toreba opened this issue Sep 6, 2017 · 2 comments
Closed

Feature request: Add custom size to modal #62

toreba opened this issue Sep 6, 2017 · 2 comments

Comments

@toreba
Copy link

toreba commented Sep 6, 2017

I would like to write

<modal size="my-size" ...>

and get

<div role="document" class="modal-dialog modal-my-size">... </div>

This can be done by changing Modal.vue:98 (not tetsted)
computed: { modalSizeClass () { return 'modal-' + this.size }

Which component

Modal

@wxsms
Copy link
Member

wxsms commented Sep 6, 2017

Pls ref to #43

@toreba
Copy link
Author

toreba commented Sep 6, 2017

Thanks. This solved my problem

@toreba toreba closed this as completed Sep 6, 2017
@wxsms wxsms added the duplicate label Sep 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants