Created
June 26, 2015 16:00
-
-
Save pads/3bbc1c9d45fe84b10977 to your computer and use it in GitHub Desktop.
Angular Bootstrap Dynamic Popover Placement
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
$tooltipProvider.setTriggers({ | |
// other trigger config | |
'customOpen':'customClose' | |
}); |
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
<button id="btn-thumbs-popover" | |
popover-button="optionalPostClickFunction()" | |
popover-button-position="top-left" | |
popover-trigger="customOpen">Open Me</button> |
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
.popover { | |
visibility: hidden; | |
} | |
.popover.visible { | |
visibility: visible; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment