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
When initialized with any custom options, ie:
$("[data-toggle='confirm']").confirmation({ rootSelector: '[data-toggle=confirm]', btnOkIcon: 'icon-ok', btnOkClass: 'btn btn-sm btn-primary', btnCancelIcon: 'icon-remove', btnCancelClass: 'btn btn-sm btn-danger', });
than not possible override this options in separate tags by data attribs, ie (different data-btn-cancel-class):
<button id="submit" type="submit" data-toggle="confirm" data-btn-cancel-class="btn btn-xs btn-primary" data-title="Confirmation" data-singleton="true" data-popout="true" data-placement="left" data-content="Ignore until ok?" data-original-title="" title=""><i class="icon-ok-sign text-muted" style="margin-right: 0px;"></i></button>
The text was updated successfully, but these errors were encountered:
It is the default Bootstrap behavior for all options but title and content example for the trigger option Popover https://jsfiddle.net/7k4sum2r/
but it would make sense for 'btn*' options
Sorry, something went wrong.
config parsing is here in Bootstrap https://github.com/twbs/bootstrap/blob/v4.6.0/js/src/tooltip.js#L660-L664
2f4d1ab
No branches or pull requests
When initialized with any custom options, ie:
than not possible override this options in separate tags by data attribs, ie (different data-btn-cancel-class):
The text was updated successfully, but these errors were encountered: