mirror of https://github.com/twbs/bootstrap.git
				
				
				
			Document that calling tooltip/popover .show()/.hide() qualifies as manual triggering
Fixes #15465 [skip sauce]
This commit is contained in:
		
							parent
							
								
									9fdf7a26e1
								
							
						
					
					
						commit
						fb6622a7d4
					
				|  | @ -252,15 +252,15 @@ sagittis lacus vel augue laoreet rutrum faucibus."> | |||
|   <p>Initializes popovers for an element collection.</p> | ||||
| 
 | ||||
|   <h4>.popover('show')</h4> | ||||
|   <p>Reveals an element's popover. Popovers whose both title and content are zero-length are never displayed.</p> | ||||
|   <p>Reveals an element's popover. This is considered a "manual" triggering of the popover. Popovers whose both title and content are zero-length are never displayed.</p> | ||||
|   {% highlight js %}$('#element').popover('show'){% endhighlight %} | ||||
| 
 | ||||
|   <h4>.popover('hide')</h4> | ||||
|   <p>Hides an element's popover.</p> | ||||
|   <p>Hides an element's popover. This is considered a "manual" triggering of the popover.</p> | ||||
|   {% highlight js %}$('#element').popover('hide'){% endhighlight %} | ||||
| 
 | ||||
|   <h4>.popover('toggle')</h4> | ||||
|   <p>Toggles an element's popover.</p> | ||||
|   <p>Toggles an element's popover. This is considered a "manual" triggering of the popover.</p> | ||||
|   {% highlight js %}$('#element').popover('toggle'){% endhighlight %} | ||||
| 
 | ||||
|   <h4>.popover('destroy')</h4> | ||||
|  |  | |||
|  | @ -213,15 +213,15 @@ $('#example').tooltip(options) | |||
|   <p>Attaches a tooltip handler to an element collection.</p> | ||||
| 
 | ||||
|   <h4>.tooltip('show')</h4> | ||||
|   <p>Reveals an element's tooltip. Tooltips with zero-length titles are never displayed.</p> | ||||
|   <p>Reveals an element's tooltip. This is considered a "manual" triggering of the tooltip. Tooltips with zero-length titles are never displayed.</p> | ||||
|   {% highlight js %}$('#element').tooltip('show'){% endhighlight %} | ||||
| 
 | ||||
|   <h4>.tooltip('hide')</h4> | ||||
|   <p>Hides an element's tooltip.</p> | ||||
|   <p>Hides an element's tooltip. This is considered a "manual" triggering of the tooltip.</p> | ||||
|   {% highlight js %}$('#element').tooltip('hide'){% endhighlight %} | ||||
| 
 | ||||
|   <h4>.tooltip('toggle')</h4> | ||||
|   <p>Toggles an element's tooltip.</p> | ||||
|   <p>Toggles an element's tooltip. This is considered a "manual" triggering of the tooltip.</p> | ||||
|   {% highlight js %}$('#element').tooltip('toggle'){% endhighlight %} | ||||
| 
 | ||||
|   <h4>.tooltip('destroy')</h4> | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue