Package Exports
- flip-bubble
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (flip-bubble) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
flip-bubble v1.1.0
Animating speech bubble component, appears and disappears flipping its sections.
Install
via npm
npm install flip-bubblevia bower
bower install speech-bubbleUsage
<script src="path/to/jquery.js"></script>
<script src="path/to/patapata.js"></script>
<script src="path/to/flip-bubble.js"></script>
<script>
$(function () {
var chr = $('#char');
var sb = chr.flipBubble($('<p />').text('Hello, world!'));
chr.one('click', function () {
sb.show().then(function (sb) {
chr.one('click', function () {
sb.hide().then(init);
});
});
});
});
</script>
<div id="char">Click!</div>dependencies
- jquery
- es6-promise
- patapata