From 0255f47eb3f4967851d014a9ef6fdf49a37dc548 Mon Sep 17 00:00:00 2001 From: Jacob Thornton Date: Fri, 27 Jan 2012 21:36:58 -0800 Subject: add zindex option for tooltips/popovers and fix modal zindex doc example --- docs/javascript.html | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'docs/javascript.html') diff --git a/docs/javascript.html b/docs/javascript.html index 24de47157..6bec3d122 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -221,7 +221,7 @@

Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem.

Popover in a modal

-

This button should trigger a popover on hover.

+

This button should trigger a popover on hover.

Tooltips in a modal

This link and that link should have tooltips on hover.

@@ -740,6 +740,12 @@ $('a[data-toggle="tab"]').on('shown', function (e) {

Object structure is: delay: { show: 500, hide: 100 }

+ + z-index + number + 1020 + The tooltips z-index value +

Notice Individual tooltip instance options can alternatively be specified through the use of data attributes.

@@ -840,6 +846,12 @@ $('a[data-toggle="tab"]').on('shown', function (e) {

Object structure is: delay: { show: 500, hide: 100 }

+ + z-index + number + 1010 + The popovers z-index value +

Notice Individual popover instance options can alternatively be specified through the use of data attributes.

-- cgit v1.2.3 From e726b231ba0c0c0effb13c9458842d64bda0e58c Mon Sep 17 00:00:00 2001 From: Jacob Thornton Date: Fri, 27 Jan 2012 21:59:06 -0800 Subject: add toggle to docs for popover/tooltip --- docs/javascript.html | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs/javascript.html') diff --git a/docs/javascript.html b/docs/javascript.html index 6bec3d122..d48924115 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -760,6 +760,9 @@ $('a[data-toggle="tab"]').on('shown', function (e) {

.tooltip('hide')

Hides an elements tooltip.

$('#element').tooltip('hide')
+

.tooltip('toggle')

+

Toggles an elements tooltip.

+
$('#element').tooltip('toggle')
@@ -868,6 +871,9 @@ $('a[data-toggle="tab"]').on('shown', function (e) {

.popover('hide')

Hides an elements popover.

$('#element').popover('hide')
+

.popover('toggle')

+

Toggles an elements popover.

+
$('#element').popover('toggle')
-- cgit v1.2.3 From 7cbb5868259ef95aacbd16812c25ac73ea76ca2d Mon Sep 17 00:00:00 2001 From: Jacob Thornton Date: Fri, 27 Jan 2012 22:27:06 -0800 Subject: move the matcher and sorter into the options - encourage people to override them... --- docs/javascript.html | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'docs/javascript.html') diff --git a/docs/javascript.html b/docs/javascript.html index d48924115..53130bd16 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -1353,7 +1353,7 @@ $('.myCarousel').carousel({ Name type - default + default description @@ -1370,6 +1370,18 @@ $('.myCarousel').carousel({ 8 The max number of items to display in the dropdown. + + matcher + function + case sensitive + The method used to determine if a query matches an item. Accepts a single argument, the item against which to test the query. Access the current query with this.query. Return a boolean true if query is a match. + + + sorter + function + no sort + Method used to sort autocomplete results. Accepts a single argument items and has the scope of the typeahead instance. Reference the current query with this.query. + @@ -1378,6 +1390,9 @@ $('.myCarousel').carousel({
 <input type="text" data-provide="typeahead">
 
+

Methods

+

.typeahead(options)

+

Initializes an input with a typahead.

-- cgit v1.2.3