From e989acfc7966b78c09bc9bbdb4e9284b983074b4 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 18 Aug 2013 21:43:05 -0700 Subject: Add responsive tables with help of `.table-responsive` wrapper --- javascript.html | 64 ++++++++++++++++++++++++++++----------------------------- 1 file changed, 32 insertions(+), 32 deletions(-) (limited to 'javascript.html') diff --git a/javascript.html b/javascript.html index 40c04f58b..e79a02c74 100644 --- a/javascript.html +++ b/javascript.html @@ -240,7 +240,7 @@ $('#myModal').on('show.bs.modal', function (e) {

Options

Options can be passed via data attributes or JavaScript. For data attributes, append the option name to data-, as in data-backdrop="".

-
+
@@ -280,7 +280,7 @@ $('#myModal').on('show.bs.modal', function (e) {
-
+

Methods

@@ -306,7 +306,7 @@ $('#myModal').modal({

Events

Bootstrap's modal class exposes a few events for hooking into modal functionality.

-
+
@@ -333,7 +333,7 @@ $('#myModal').modal({
-
+
{% highlight js %} $('#myModal').on('hidden.bs.modal', function () { // do something… @@ -480,7 +480,7 @@ $('.dropdown-toggle').dropdown()

Toggles the dropdown menu of a given navbar or tabbed navigation.

Events

-
+
@@ -507,7 +507,7 @@ $('.dropdown-toggle').dropdown()
-
+
{% highlight js %} $('#myDropdown').on('show.bs.dropdown', function () { // do something… @@ -602,7 +602,7 @@ $('[data-spy="scroll"]').each(function () {

Options

Options can be passed via data attributes or JavaScript. For data attributes, append the option name to data-, as in data-offset="".

-
+
@@ -621,10 +621,10 @@ $('[data-spy="scroll"]').each(function () {
-
+

Events

-
+
@@ -639,7 +639,7 @@ $('[data-spy="scroll"]').each(function () {
-
+
{% highlight js %} $('#myScrollspy').on('activate.bs.scrollspy', function () { // do something… @@ -745,7 +745,7 @@ $('#myTab li:eq(2) a').tab('show') // Select third tab (0-indexed) {% endhighlight %}

Events

-
+
@@ -764,7 +764,7 @@ $('#myTab li:eq(2) a').tab('show') // Select third tab (0-indexed)
-
+
{% highlight js %} $('a[data-toggle="tab"]').on('shown.bs.tab', function (e) { e.target // activated tab @@ -814,7 +814,7 @@ $('#example').tooltip(options)

Options

Options can be passed via data attributes or JavaScript. For data attributes, append the option name to data-, as in data-animation="".

-
+
@@ -881,7 +881,7 @@ $('#example').tooltip(options)
-
+

Data attributes for individual tooltips

Options for individual tooltips can alternatively be specified through the use of data attributes, as explained above.

@@ -914,7 +914,7 @@ $('#example').tooltip(options) {% highlight js %}$('#element').tooltip('destroy'){% endhighlight %}

Events

-
+
@@ -941,7 +941,7 @@ $('#example').tooltip(options)
-
+
{% highlight js %} $('#myTooltip').on('hidden.bs.tooltip', function () { // do something… @@ -1036,7 +1036,7 @@ $('#myTooltip').on('hidden.bs.tooltip', function () {

Options

Options can be passed via data attributes or JavaScript. For data attributes, append the option name to data-, as in data-animation="".

-
+
@@ -1109,7 +1109,7 @@ $('#myTooltip').on('hidden.bs.tooltip', function () {
-
+

Data attributes for individual popovers

Options for individual popovers can alternatively be specified through the use of data attributes, as explained above.

@@ -1138,7 +1138,7 @@ $('#myTooltip').on('hidden.bs.tooltip', function () {

Hides and destroys an element's popover.

{% highlight js %}$('#element').popover('destroy'){% endhighlight %}

Events

-
+
@@ -1165,7 +1165,7 @@ $('#myTooltip').on('hidden.bs.tooltip', function () {
-
+
{% highlight js %} $('#myPopover').on('hidden.bs.popover', function () { // do something… @@ -1222,7 +1222,7 @@ $('#myPopover').on('hidden.bs.popover', function () {

Events

Bootstrap's alert class exposes a few events for hooking into alert functionality.

-
+
@@ -1241,7 +1241,7 @@ $('#myPopover').on('hidden.bs.popover', function () {
-
+
{% highlight js %} $('#my-alert').bind('closed.bs.alert', function () { // do something… @@ -1528,7 +1528,7 @@ $(".collapse").collapse()

Options

Options can be passed via data attributes or JavaScript. For data attributes, append the option name to data-, as in data-parent="".

-
+
@@ -1553,7 +1553,7 @@ $(".collapse").collapse()
-
+

Methods

@@ -1576,7 +1576,7 @@ $('#myCollapsible').collapse({

Events

Bootstrap's collapse class exposes a few events for hooking into collapse functionality.

-
+
@@ -1605,7 +1605,7 @@ $('#myCollapsible').collapse({
-
+
{% highlight js %} $('#myCollapsible').on('hidden.bs.collapse', function () { // do something… @@ -1752,7 +1752,7 @@ $('.carousel').carousel()

Options

Options can be passed via data attributes or JavaScript. For data attributes, append the option name to data-, as in data-interval="".

-
+
@@ -1783,7 +1783,7 @@ $('.carousel').carousel()
-
+

Methods

@@ -1813,7 +1813,7 @@ $('.carousel').carousel({

Events

Bootstrap's carousel class exposes two events for hooking into carousel functionality.

-
+
@@ -1832,7 +1832,7 @@ $('.carousel').carousel({
-
+
{% highlight js %} $('#myCarousel').on('slide.bs.carousel', function () { // do something… @@ -1888,7 +1888,7 @@ $('#myCarousel').on('slide.bs.carousel', function () {

Options

Options can be passed via data attributes or JavaScript. For data attributes, append the option name to data-, as in data-offset-top="200".

-
+
@@ -1907,6 +1907,6 @@ $('#myCarousel').on('slide.bs.carousel', function () {
-
+
-- cgit v1.2.3