Last active
March 15, 2016 17:21
-
-
Save courtneyphillips/c7a21c2e9ab734b17959 to your computer and use it in GitHub Desktop.
Bootstrap popovers in Rails
This file contains hidden or 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
gem 'bootstrap-tooltip-rails' | |
//ADDITIONAL OPTIONS & DOCUMENTATION | |
http://getbootstrap.com/javascript/#popovers |
This file contains hidden or 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
<a title="Popover Title Here" href="#" rel="popover" data-content="Here's the content of the popover!" data-trigger="hover">test with html</a> | |
<script>$(function () { | |
$('[data-toggle="popover"]').popover() | |
})</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment