We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
$modal.toggleClass('fade', options.fade) .addClass(options.cssClass) .toggleClass('modal-md', options.size === 'md') .toggleClass('modal-sm', options.size === 'sm') .toggleClass('modal-lg', options.size === 'lg') .toggleClass('modal-fullscreen', options.size === 'fullscreen') .toggleClass('modal-loading', !this.isShown);
这里的modal-md,modal-sm,modal-lg,modal-fullscreen,modal-loading应该要加到$dialog上才会有作用,否则在使用lg时样式会乱
modal-md
modal-sm
modal-lg
modal-fullscreen
modal-loading
$dialog
lg
$modal.toggleClass('fade', options.fade) .addClass(options.cssClass); $dialog.toggleClass('modal-md', options.size === 'md') .toggleClass('modal-sm', options.size === 'sm') .toggleClass('modal-lg', options.size === 'lg') .toggleClass('modal-fullscreen', options.size === 'fullscreen') .toggleClass('modal-loading', !this.isShown);
The text was updated successfully, but these errors were encountered:
* fix bug #10.
f334292
* finish task #10.
c510585
No branches or pull requests
这里的
modal-md
,modal-sm
,modal-lg
,modal-fullscreen
,modal-loading
应该要加到$dialog
上才会有作用,否则在使用lg
时样式会乱The text was updated successfully, but these errors were encountered: