Revert "Add tooltip viewport option, respect bounds of the viewport"
This reverts commit edb221a20c.
Reverting due to broken JS unit tests.
Conflicts:
docs/javascript.html
This commit is contained in:
parent
faa783e989
commit
6af0013ac5
4 changed files with 30 additions and 203 deletions
|
|
@ -1015,22 +1015,6 @@ $('#example').tooltip(options)
|
|||
<p>Appends the tooltip to a specific element. Example: <code>container: 'body'</code></p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>viewport</td>
|
||||
<td>string</td>
|
||||
<td>'body'</td>
|
||||
<td>
|
||||
<p>Keeps the tooltip within the bounds of this element. Example: <code>viewport: '#viewport'</code></p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>viewportPadding</td>
|
||||
<td>number</td>
|
||||
<td>0</td>
|
||||
<td>
|
||||
<p>Pixel distance to keep the tooltip from the edges of the viewport element. Example: <code>viewportPadding: 10</code></p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div><!-- /.table-responsive -->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue