0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-10 22:24:19 +01:00
Commit Graph

22 Commits

Author SHA1 Message Date
Patrick H. Lauke
b14c7f1e17 Add accessibility callout for tooltips 2015-12-26 20:12:51 +00:00
Chris Rebert
4461884f69 Rename docs-specific static tooltip/popover classes for clarity; refs #18043
[skip sauce]
2015-10-23 23:17:19 -07:00
Peshkov, Igor
9598f98a48 Fix docs for tooltips. 2015-10-16 15:24:53 +03:00
Chris Rebert
a9f24fc59f Use backticks/<code> for JS snippets in docs headings; closes #17192
[skip sauce]
2015-09-28 12:24:41 -07:00
Johann-S
5a15971920 Use correct default value of constraints in Tooltip docs; fixes #17671
Closes #17699
2015-09-25 14:25:08 -07:00
Johann-S
c9597b1c54 Fix doc for tooltips and popover method dispose 2015-09-16 09:40:26 +02:00
Zearin
8e29c43c46 Fix usage of “its” and “it’s” 2015-09-07 10:07:35 -04:00
Gleb Mazovetskiy
c7d8e7a077 Accept elements as the tooltip / popover content
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-31 01:06:13 +01:00
Chris Rebert
5404ed5946 Fix options link in Tooltip docs 2015-08-20 22:16:16 -07:00
Chris Rebert
136e8a4806 tooltips.md: Fix capitalization of "Tether" more 2015-08-20 22:13:39 -07:00
Chris Rebert
7fa1341b47 tooltips.md: Fix capitalization of "Tether" 2015-08-20 22:12:14 -07:00
Christian Oliff
9471ad7533 Fix tether typo
Fix tether typo
2015-08-21 00:43:34 +09:00
Jacob Thornton
db14bac42f update tooltip/popover docs 2015-08-15 12:07:06 -07:00
Mark Otto
c064eef67b Massive cleanup
- Simpler main nav on all pages
- Back to purple masthead on homepage instead of dark graphite
- Active link styles on the main nav
- Cleaned up sidebar nav
- New docs layout name
- Homepage copy edits
- Updated bright purple docs color
2015-08-14 22:45:55 -07:00
Jacob Thornton
11abb0f7e9 fix modal 2015-08-12 21:12:03 -07:00
Mark Otto
c6d5fee88a transitions and text changes 2015-08-08 21:37:48 -07:00
Mark Otto
fed0d8a2d4 restore page headers, use partial and page frontmatter to organize it 2015-08-05 17:47:45 -07:00
Mark Otto
169d2a4a78 Merge branch 'master' into v4 2015-06-18 23:56:43 -07:00
Mark Otto
b455ed8def add markdown toc stuff 2015-05-29 01:58:52 -07:00
Mark Otto
466d36e541 Redo all our callouts with the custom callout plugin
- Replaces manual use of .bd-callout with {% callout [type] %}
- Rearranged some callouts for proximity to others
- Turned long lists of callouts--like those on tooltips, plugings, etc--into a list because holy shit that's overwhelming
2015-04-16 16:56:40 -07:00
Mark Otto
c84cf4f7f5 rename classes from .bs-docs and .bs to .bd 2015-04-16 14:07:20 -07:00
Mark Otto
f98883fc44 move more js stuff to components section 2015-03-30 20:55:00 -07:00