Last active
June 11, 2020 21:23
-
-
Save iiiBird/44ca256e05898091fcfcd85f7ecb7361 to your computer and use it in GitHub Desktop.
bootstrap popover container this
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="custom-popover-wr"> | |
<div class="custom-popover" data-container="body" data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="Text"> | |
111 | |
</div> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('.custom-popover').each(function() { | |
$(this).popover({ | |
container: $(this).parent() | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment