That said, in some situations it may be desirable to turn this functionality off. Therefore, we also provide the ability to disable the data attribute API by unbinding all events on the body namespaced with `'data-api'`. This looks like this:
$("#myModal").modal() // initialized with defaults
$("#myModal").modal({ keyboard: false }) // initialized with no keyboard
$("#myModal").modal('show') // initializes and invokes show immediately
Heads up!
Navbar links must have resolvable id targets. For example, a <a href="#home">home</a> must correspond to something in the dom like <div id="home"></div>.
问题与解答
服务与支持
而这款管道机器人体型偏小,能迅速在管道中移动,及时了解管道内堵塞情况,大大降低人工监测的难度。
$('[data-spy="scroll"]').each(function () {
var $spy = $(this).scrollspy('refresh')
});
This event fires on tab show, but before the new tab has been shown. Use event.target and event.relatedTarget to target the active tab and the previous active tab (if available) respectively.
shown
This event fires on tab show after a tab has been shown. Use event.target and event.relatedTarget to target the active tab and the previous active tab (if available) respectively.
Insert html into the tooltip. If false, jquery's text method will be used to insert content into the dom. Use text if you're worried about XSS attacks.
placement
string|function
'top'
how to position the tooltip - top | bottom | left | right
selector
string
false
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
'hover'
how tooltip is triggered - click | hover | focus | manual
Insert html into the popover. If false, jquery's text method will be used to insert content into the dom. Use text if you're worried about XSS attacks.
placement
string|function
'right'
how to position the popover - top | bottom | left | right
selector
string
false
if a selector is provided, tooltip objects will be delegated to the specified targets
trigger
string
'click'
how popover is triggered - click | hover | focus | manual
title
string | function
''
default title value if `title` attribute isn't present
content
string | function
''
default content value if `data-content` attribute isn't present
Diddorol oedd?ffaith河畔oedd MODD cofrestru泰格,斯特凯特谦卑,上午FOD“呐Forder牧羊犬YN EI gwaed喜,OND OND暗淡盖尔IDDI CWN巴赫EFO CI Cymreig '去iawn' AC i'r rheiny ddatblygu我weithio YN?ffordd Gymreig,byddai MODD cofrestru'r rheiny。
Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
If selector then all collapsible elements under the specified parent will be closed when this collapsible item is shown. (similar to traditional accordion behavior)
toggle
boolean
true
Toggles the collapsible element on invocation
案例分享
新闻动态
Activates your content as a collapsible element. Accepts an optional options object.
1982 World’s largest power pump, 2985 kW(4000 hp), to pump abrasive slurries through 800-1600 km (500-1000 miles) longpipeline世界上最大的动力泵 2985kW (4000 hp),可通过 800-1600km(500-1000 英里)长的管道抽磨蚀性浆料
Name
type
default
description
interval
number
5000
The amount of time to delay between automatically cycling an item. If false, carousel will not automatically cycle.
pause
string
"hover"
Pauses the cycling of the carousel on mouseenter and resumes the cycling of the carousel on mouseleave.
The data source to query against. May be an array of strings or a function. The function is passed two arguments, the query value in the input field and the process callback. The function may be used synchronously by returning the data source directly or asynchronously via the process callback's single argument.
items
number
8
The max number of items to display in the dropdown.
minLength
number
1
The minimum character length needed before triggering autocomplete suggestions
matcher
function
case insensitive
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
exact match, case sensitive, case insensitive
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.
updater
function
returns selected item
The method used to return selected item. Accepts a single argument, the item and has the scope of the typeahead instance.
highlighter
function
highlights all default matches
Method used to highlight autocomplete results. Accepts a single argument item and has the scope of the typeahead instance. Should return html.
Heads up!
You must manage the position of a pinned element and the behavior of its immediate parent. Position is controlled by affix, affix-top, and affix-bottom. Remember to check for a potentially collapsed parent when the affix kicks in as it's removing content from the normal flow of the page.
Pixels to offset from screen when calculating position of scroll. If a single number is provide, the offset will be applied in both top and left directions. To listen for a single direction, or multiple unique offsets, just provided an object offset: { x: 10 }. Use a function when you need to dynamically provide an offset (useful for some responsive designs).