|
static | affix ($selector='affix', $params=array()) |
|
static | alert ($selector='alert') |
|
static | button ($selector='button') |
|
static | carousel ($selector='carousel', $params=array()) |
|
static | dropdown ($selector='dropdown-toggle') |
|
static | framework ($debug=null) |
|
static | modal ($selector='modal', $params=array()) |
|
static | renderModal ($selector='modal', $params=array(), $body='') |
|
static | popover ($selector='.hasPopover', $params=array()) |
|
static | scrollspy ($selector='navbar', $params=array()) |
|
static | tooltip ($selector='.hasTooltip', $params=array()) |
|
static | tooltipExtended ($extended=true) |
|
static | typeahead ($selector='.typeahead', $params=array()) |
|
static | startAccordion ($selector='myAccordian', $params=array()) |
|
static | endAccordion () |
|
static | addSlide ($selector, $text, $id, $class='') |
|
static | endSlide () |
|
static | startTabSet ($selector='myTab', $params=array()) |
|
static | endTabSet () |
|
static | addTab ($selector, $id, $title) |
|
static | endTab () |
|
static | startPane ($selector='myTab', $params=array()) |
|
static | endPane () |
|
static | addPanel ($selector, $id) |
|
static | endPanel () |
|
static | loadCss ($includeMainCss=true, $direction='ltr', $attribs=array()) |
|
Utility class for Bootstrap elements.
- Depuis
- 3.0
static popover |
( |
|
$selector = '.hasPopover' , |
|
|
|
$params = array() |
|
) |
| |
|
static |
Add javascript support for Bootstrap popovers
Use element's Title as popover content
- Paramètres
-
string | $selector | Selector for the popover |
array | $params | An array of options for the popover. Options for the popover can be: animation boolean apply a css fade transition to the popover html boolean Insert HTML into the popover. If false, jQuery's text method will be used to insert content into the dom. placement string|function how to position the popover - top | bottom | left | right selector string If a selector is provided, popover objects will be delegated to the specified targets. trigger string how popover is triggered - hover | focus | manual title string|function default title value if title tag isn't present content string|function default content value if data-content attribute isn't present delay number|object delay showing and hiding the popover (ms) - does not apply to manual trigger type If a number is supplied, delay is applied to both hide/show Object structure is: delay: { show: 500, hide: 100 } container string|boolean Appends the popover to a specific element: { container: 'body' } |
- Renvoie
- void
- Depuis
- 3.0
Références $options, $params, $selector, getDocument, json_encode, et null.
static tooltip |
( |
|
$selector = '.hasTooltip' , |
|
|
|
$params = array() |
|
) |
| |
|
static |
Add javascript support for Bootstrap tooltips
Add a title attribute to any element in the form title="title::text"
- Paramètres
-
string | $selector | The ID selector for the tooltip. |
array | $params | An array of options for the tooltip. Options for the tooltip can be:
- animation boolean Apply a CSS fade transition to the tooltip
- html boolean Insert HTML into the tooltip. If false, jQuery's text method will be used to insert content into the dom.
- placement string|function How to position the tooltip - top | bottom | left | right
- selector string If a selector is provided, tooltip objects will be delegated to the specified targets.
- title string|function Default title value if
title tag isn't present
- trigger string How tooltip is triggered - hover | focus | manual
- delay integer Delay showing and hiding the tooltip (ms) - does not apply to manual trigger type If a number is supplied, delay is applied to both hide/show Object structure is: delay: { show: 500, hide: 100 }
- container string|boolean Appends the popover to a specific element: { container: 'body' }
|
- Renvoie
- void
- Depuis
- 3.0
Références $options, $params, $script, $selector, getDocument, json_encode, et null.