aboutsummaryrefslogtreecommitdiff
path: root/js/src/tooltip.js
AgeCommit message (Collapse)AuthorFilesLines
2016-12-02[V4] Throw error when a plugin is in transition (#17823)Johann1-8/+18
* Throw error when a plugin is in transition * Add unit tests about plugins in transition
2016-11-29Hide popovers when their containing modal is closed. (#21227)Bardi Harborow1-0/+6
2016-11-28Merge branch 'v4-js-carousel' of https://github.com/J2TeaM/bootstrap into ↵Mark Otto1-3/+1
J2TeaM-v4-js-carousel
2016-11-26Implement container option for tooltips and popovers.andyexeter1-3/+7
2016-11-24Make JS compliant with the new ESLint rules.Bardi Harborow1-41/+40
2016-10-31Making .tooltip('show') throw an error on elements with display:none (#20940)Johann1-0/+3
2016-10-31Move from $.proxy to es6 arrow functions. (#21049)Bardi Harborow1-3/+3
2016-10-25Use a single class name for opened/expanded/shown state of widgetsJohann-S1-14/+14
2016-10-19version bump to alpha 5Mark Otto1-2/+2
2016-10-10Merge pull request #17614 from Johann-S/patchTooltipMark Otto1-1/+1
[Fix #17611][V4] Change destroy to dispose for tooltip in _JQueryInterface
2016-10-09Merge branch 'tooltip-arrow' of https://github.com/brnrdog/bootstrap into ↵Mark Otto1-1/+0
brnrdog-tooltip-arrow
2016-10-03Fix broken/redirected links, moving to HTTPS where possible. (#20557)Bardi Harborow1-2/+2
2016-09-07Merge #20563 and #20567J2TeaM1-3/+1
2016-09-05versionsMark Otto1-2/+2
2016-07-27bump versionsMark Otto1-2/+2
2015-12-08Update version numbers using npm scriptChris Rebert1-1/+1
Errata from: * 8ce5da30260c1368ae97838fcf010375071a7243 * 5d3144e8fb5c7202991b7614d77dfc00903fcb2e which missed a few numbers. [skip sauce] [skip validator]
2015-12-08manually bump versions because npm script wasn't working for meMark Otto1-1/+1
2015-12-05Fix version numbers is JS files; fixes #18435Chris Rebert1-2/+2
[skip sauce] [skip validator]
2015-11-14add undefined for nowJacob Thornton1-1/+1
2015-11-14add explicit error for lack of tether in tooltips - fixes #17273Jacob Thornton1-0/+8
2015-11-14Merge branch 'v4-dev' of https://github.com/lincolndbryant/bootstrap into ↵Jacob Thornton1-18/+7
lincolndbryant-v4-dev
2015-11-03Add eslint no-undef rule and resolve errorsJon Tewksbury1-0/+2
2015-10-02Add throw error for undefined method on pluginsJohann-S1-0/+3
2015-09-16Change destroy -> disposeJohann-S1-1/+1
2015-08-31Accept elements as the tooltip / popover contentGleb Mazovetskiy1-6/+20
When a DOM node is passed to an HTML tooltip, the `title` node is only moved if it is not already in the tooltip. Otherwise, `empty()` is used instead of `detach()` before appending the `title` to avoid memory leaks. If a DOM node is passed to a plain text tooltip, its text is copied via jQuery `.text()`. Replaces `.detach()` with `.empty()`, as `.detach()` is almost never useful but instead leaks memory. The difference between `empty` and `detach` is that the latter keeps all the attached jQuery events/data. However, since we do not return the previous children, the user would have to keep these themselves, thus they can `detach()` if necessary. This is a port of https://github.com/twbs/bootstrap/pull/14552 to v4.
2015-08-26Convert tooltip's arrows to generated CSS content via :beforeBernardo Gurgel Filho1-1/+0
2015-08-26fixes #17097: Go back to using jQuery's text and html methods since ↵Jelle Versele1-2/+2
innerText is nonstandard and not present in Firefox Closes #17272 by merging a tweaked version of it. [skip validator]
2015-08-20_removeTetherClasses is no longer referencedlbryant1-6/+0
2015-08-20use Tether addTargetClasses: false option instead of manually removing themlbryant1-12/+7
2015-08-18js tests passing + eslintJacob Thornton1-19/+23
2015-05-13add simple type checker implementationfat1-1/+24
2015-05-13implement global dispose methodfat1-20/+33
2015-05-12grunt test-js, grunt dist-js now workingfat1-3/+3
2015-05-12popover passing as wellfat1-107/+84
2015-05-11rewritten tooltip + tether integration and death to our positioner jankfat1-0/+619