mgcrea / angular-strap

AngularJS 1.2+ native directives for Bootstrap 3.
mgcrea.github.io/angular-strap
MIT License
5.73k stars 1.38k forks source link

Animations aren't working when I use a custom object $modal: #2147

Closed rafaelss95 closed 5 years ago

rafaelss95 commented 8 years ago

Well, the problem is that if I use a custom object $modal, like this:

$modal({
    title: 'Some title'
    content: 'Some content'
    templateUrl: 'Some template'',
    animation: 'am-flip-x',
    show: true,
    html: true
});

The animation won't work. However, it works if I use the modal like this:

<button type="button" class="btn btn-info btn-xs" data-title="Some title" data-content="Some code" data-template-url="Some template" data-animation="am-flip-x" bs-modal="modal">

What is happening?

DaleWebb commented 8 years ago

Could you paste the actual code that you used?

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

lock[bot] commented 5 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.