aboutsummaryrefslogtreecommitdiff
path: root/js/src/tooltip.js
AgeCommit message (Collapse)AuthorFilesLines
2017-05-14Add fallbackPlacement option for Tooltip and PopoverJohann-S1-25/+30
2017-05-14Add an update method to allow to update position for ↵Johann-S1-2/+10
Tooltip/Popover/Dropdown manually
2017-05-14Fix some css for the arrow of Popover/Tooltip + update documentationJohann-S1-3/+3
2017-05-14Better placement for Dropdown + Handle flip of Tooltip/PopoverJohann-S1-0/+12
2017-05-14Remove totaly Tether from documentation + dependenciesJohann-S1-2/+2
2017-05-14Fix unit tests + Update Popper to 1.6.0Johann-S1-1/+1
2017-05-14Remove constraints option and check every optionsJohann-S1-6/+6
2017-05-14Begin to use Popper for DropdownJohann-S1-1/+1
2017-05-14Fix arrow for tooltip and popoverJohann-S1-11/+8
2017-05-14Add attachment classesJohann-S1-0/+16
2017-05-14Begin to add arrow to Popover and TooltipJohann-S1-4/+6
2017-05-14Use Popper for tooltip and popoverJohann-S1-51/+22
2017-04-20Fix for copy/paste error in iOS hack to tooltipsPatrick H. Lauke1-2/+1
(with apologies, this slipped through due to build system problems on my end)
2017-04-20Add iOS hack to tooltipsPatrick H. Lauke1-0/+16
Same hack as in https://github.com/twbs/bootstrap/pull/22426 (modulo the selector, which is wrong in that PR and will be updated in a separate PR) to get tooltips to work correctly on iOS. Dynamically adds/removes empty (`noop`) `touchstart` event handlers to all children of `<body>` in order to coax iOS into proper event delegation/bubbling
2017-03-31Popover + Tooltip - fix error when content or title is a numberJohann-S1-0/+8
2017-03-28Fix JS components console error "Error: <Component> is transitioning"Pierre Vanduynslager1-20/+12
2017-03-28Fix different tooltips offset when hoveringJohann1-0/+10
2017-01-06version bumpMark Otto1-2/+2
2016-12-27update click state when hiding so can be shown again by trigger. fixes #16732Max Beatty1-0/+4
2016-12-21Merge branch 'patch-1' of https://github.com/tracker1/bootstrap into ↵Mark Otto1-1/+1
tracker1-patch-1
2016-12-07Rename `.active` to `.show`Starsam801-14/+14
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
2016-03-14Update tooltip.jsMichael J. Ryan1-1/+1
match project's style check
2016-03-14Update tooltip.jsMichael J. Ryan1-1/+1
Don't reference `Tether` via attachment to `window`, with the update one can import bootstrap providing the dependencies in webpack with: ``` new webpack.ProvidePlugin({ $: 'jquery', jQuery: 'jquery', Tether: 'tether', }); ``` Then inside one's own bootstrap/globals, `import 'bootstrap';` will simply work, and $/jQuery can be used from there. I had wanted to do this, but also expose jQuery, Tether, etc when in development build in my code, but if I provide `window.Tether`, I can't then expose it to the outside...
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]