企业使命,是企业存在的核心意义和价值所在。它如同明灯照亮前行的道路,引领着企业不断前行。我们的企业使命,是为客户提供卓越的产品和服务。从
他们不断探索和创新,始终站在行业的前沿。他们的努力使得公司拥有了一系列领先的技术。这些技术不仅提高了工作效率。还为公司的发展注入了强大的动力。再说公司的设备,那可
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:$('body').off('.data-api')Alternatively, to target a specific plugin, just include the plugin's name as a namespace along with the data-api namespace like this:
$('body').off('.alert.data-api')We also believe you should be able to use all Bootstrap plugins purely through the JavaScript API. All public APIs are single, chainable methods, and return the collection acted upon.
$(".btn.danger").button("toggle").addClass("fat")All methods should accept an optional options object, a string which targets a particular method, or nothing (which initiates a plugin with default behavior):
$("#myModal").modal() // initialized with defaults
$("#myModal").modal({ keyboard: false }) // initialized with no keyboard
$("#myModal").modal('show') // initializes and invokes show immediatelyEach plugin also exposes its raw constructor on a `Constructor` property: $.fn.popover.Constructor. If you'd like to get a particular plugin instance, retrieve it directly from an element: $('[rel=popover]').data('popover').
公司团队他们深知市场的脉搏,能够精准地把握推广的时机和方向。他们拥有丰富的推广经验,熟练掌握各种推广渠道和手段。无论是线上的社交媒体、搜索引擎,还是线下的广告宣传、活动策划,都能运用得恰到好处。研发团队日夜钻研,致力于推出更具竞
我们的管理团队经验丰富,富有战略眼光。能够制定科学合理的发展规划,引领公司朝着正确的方向前进。公司还注重企业文
$('#myModal').on('show', function (e) {
if (!data) return e.preventDefault() // stops modal from being shown
})
For simple transition effects, include bootstrap-transition.js once alongside the other JS files. If you're using the compiled (or minified) bootstrap.js, there is no need to include this—it's already there.
与客户建立长期合作关系,以优质的
企业投资是一项关键决策,旨在获取回报并实现增长。它需要深入分析市场趋势、评估风险。通过投
在竞争激烈的市场中,我们公司的推广能力让我们始终保持领
本公司拥有超优秀
<div class="modal hide fade">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3>Modal header</h3>
</div>
<div class="modal-body">
<p>One fine body…</p>
</div>
<div class="modal-footer">
<a href="#" class="btn">Close</a>
<a href="#" class="btn btn-primary">Save changes</a>
</div>
</div>
Toggle a modal via JavaScript by clicking the button below. It will slide down and fade in from the top of the page.
<!-- Button to trigger modal --> <a href="#myModal" role="button" class="btn" data-toggle="modal">Launch demo modal</a> <!-- Modal --> <div id="myModal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> <h3 id="myModalLabel">Modal header</h3> </div> <div class="modal-body"> <p>One fine body…</p> </div> <div class="modal-footer"> <button class="btn" data-dismiss="modal" aria-hidden="true">Close</button> <button class="btn btn-primary">Save changes</button> </div> </div>
Activate a modal without writing JavaScript. Set data-toggle="modal" on a controller element, like a button, along with a data-target="#foo" or href="#foo" to target a specific modal to toggle.
<button type="button" data-toggle="modal" data-target="#myModal">Launch modal</button>
Call a modal with id myModal with a single line of JavaScript:
$('#myModal').modal(options)Options can be passed via data attributes or JavaScript. For data attributes, append the option name to data-, as in data-backdrop="".
| Name | type | default | description |
|---|---|---|---|
| backdrop | boolean | true | Includes a modal-backdrop element. Alternatively, specify static for a backdrop which doesn't close the modal on click. |
| keyboard | boolean | true | Closes the modal when escape key is pressed |
| show | boolean | true | Shows the modal when initialized. |
| remote | path | false | 竞争对手分析是了解市场格局、制定战略的关键。需深入研究对手的产品特点、价格策略、市场份额、营销手段等。对比自身优势与不足,找出差异化。关注对手的动态,包括新品发布、战略调整等。还应分析对手的客户群 |
Activates your content as a modal. Accepts an optional options object.
$('#myModal').modal({
keyboard: false
})
Manually toggles a modal.
$('#myModal').modal('toggle')Manually opens a modal.
$('#myModal').modal('show')Manually hides a modal.
$('#myModal').modal('hide')Bootstrap's modal class exposes a few events for hooking into modal functionality.
| Event | Description |
|---|---|
| show | This event fires immediately when the show instance method is called. |
| shown | This event is fired when the modal has been made visible to the user (will wait for css transitions to complete). |
| hide | This event is fired immediately when the hide instance method has been called. |
| hidden | This event is fired when the modal has finished being hidden from the user (will wait for css transitions to complete). |
$('#myModal').on('hidden', function () {
// do something…
})
Add dropdown menus to nearly anything with this simple plugin, including the navbar, tabs, and pills.
为了实现这一美好愿景,我们将不断努力。加强团队合作,提
<div class="dropdown"> <a class="dropdown-toggle" data-toggle="dropdown" href="#">Dropdown trigger</a> <ul class="dropdown-menu" role="menu" aria-labelledby="dLabel"> ... </ul> </div>
To keep URLs intact, use the data-target attribute instead of href="#".
<div class="dropdown"> <a class="dropdown-toggle" id="dLabel" role="button" data-toggle="dropdown" data-target="#" href="/page.html"> Dropdown <b class="caret"></b> </a> <ul class="dropdown-menu" role="menu" aria-labelledby="dLabel"> ... </ul> </div>
Call the dropdowns via JavaScript:
$('.dropdown-toggle').dropdown()工厂管理
当前行业竞争激烈,众多企业纷纷涌入市场。主要竞争焦点集中在产
在面对市场的变化和挑战时,公司具有很强的应变能力。能够及时调整策略,抓住机遇,化危机为转机。而且,公司还积极拓展海外市场。与国际知名企业开展合作,提升公司的国际影响力
在竞争激烈的市场中,我们的企业同行们犹如群星闪耀。他们各自凭借独特的优势和特色,在行业内崭露头角。有的以创新的产品引领市场潮流,有的以优质的服务赢得客户口碑,还有的以高效的运营模式实现快速发展。正是这些同行的存在,推动着整个行业不断向前迈进。企业项目是推动企业发展、实现战略目标、提升竞争力和创造经济与社会价值的关键驱动力。企业项目,犹如一场充满挑战与机遇的征程。它是企业发展的引擎
不断创新,紧跟市场需求,让我们在竞争中脱颖而出。与合作伙伴的紧密合作,也为我们的发展提供了有力支持。未来,我们会继续努力,保持优势,为客户带来更多价值!在此背景下,企业需要不断增强自身实力,提升核心竞争力。一方面,要加强技术研发,推出更具优势的产品和服务;另一方面,需积极关注市场动态,灵活调整策略,以适应
我们还懂得不断创新,紧跟市场趋势,及时调整战略。最重要的是,我们有着敏锐的市场洞察力,能够率先发现机会并抓住它。在竞争激烈的市场中,公司的核心竞争力让我们脱颖而出,成为行业的佼佼者。未来,我们将继续保持和提升核心竞争力,不断开拓进取,为客户创造更大的价值,为公司带来更加辉煌的成就!在市场拓展方面,我们已经取得
还积极参与社区建设,与当地政府和社会组织合作。共同推动社区的发展和进步。企业的社会责任感不仅仅体现在具体的行动上,更体现在其企业文化中。将社会责任融入到企业的价值观和发展战略中,让每一位员工都深刻理解其重要性。在处理复杂问题时,售后团队能够迅速组织力量。协同各部门共同解决,确保客户的问题得到彻底解决。公司还会对售后服务进行定期评估和改进。不断优化服务流程,提高客户满意度。总之,公司的售后处理能力真的非常强大。这不仅让客户感到放心和满意,也为
本行业领域近日迎来重大突破!同行知名企业发布了一款创新产品,引发业内广泛关注。该产品在技术、性能等方面均有显著提升,有望引领行业发展新趋势。这一消息无疑为整个行业注入了新的活力和动力。企业经营是一项充满挑战的任务,它涉及多个方面。企业需要制定明确的战略目标,以指引发展方向。还需合理配置资源,提高生产效率。同时,要关注市场动态,满足客户需求,不断创新,提升产品和服务质量。此外,还需
在时光的长河中,我们的公司宛如一艘稳健前行的巨轮,不断驶向更加辉煌的彼岸。每一位员工都是勇敢的水手,齐心协力,乘风破浪。我们积极开拓市场,不断创新,以优质的产品和服务赢得客户的信赖和赞誉。团队的凝聚力和向心力如同强大的引擎,推动着公司不断前进。我们的企业拥有强大的竞争力,源自于以下几个方面。首先,我们拥有一支高素质、富有创造力的团队,他们具备专业的知识和丰富的经验,能够不断推出创新的产品和服务。其次,我们注重技
这种培训体系对公司和员工来说是一种双赢的局面。对公司而言,它有助于提升整体竞争力。通过不断提升员工的能力和素质,公司能够更好地满足市场需求,推出更优质的产品和服务。还能增强公司的创新能力和应变能力,适应不断变化的
<body data-spy="scroll" data-target=".navbar">...</body>
Call the scrollspy via JavaScript:
$('#navbar').scrollspy()<a href="#home">home</a> must correspond to something in the dom like <div id="home"></div>.
When using scrollspy in conjunction with adding or removing of elements from the DOM, you'll need to call the refresh method like so:
$('[data-spy="scroll"]').each(function () {
var $spy = $(this).scrollspy('refresh')
});
Options can be passed via data attributes or JavaScript. For data attributes, append the option name to data-, as in data-offset="".
| Name | type | default | description |
|---|---|---|---|
| offset | number | 10 | Pixels to offset from top when calculating position of scroll. |
| Event | Description |
|---|---|
| activate | This event fires whenever a new item becomes activated by the scrollspy. |
在如此优良的环境中,每一个人都能充分释放自身潜能,以饱满的热情和无尽的创造力,齐心协
通过对外投资,企业可以利用国内外的先进技术、优质资源和广阔市场,实现多元化经营。需充分评估风险,制定科学的投资策略,以确保投资的安全性和回报率。这吸引了那些追求独特体验的消费者。而且,我们的品牌在市场上具有很高的知名度和美誉度。人们一提到相关领域,就会想到我们的品牌。品牌力还为我们带来了以下优势:能够吸引优秀的员工。他们希望为有影响
公司团队他们深知市场的脉搏,能够精准地把握推广的时机和方向。他们拥有丰富的推广经验,熟练掌握各种推广渠道和手段。无论是线上的社交媒体、搜索引擎,还是线下的广告宣传、活动策划,都能运用得恰到好处。研发团队日夜钻研,致力于推出更具竞争力的产品。销售团队奋力拼搏,积极拓展客户群体。在努力的过程中,公司也面临着各种挑战和困难,但从不退缩。始终坚持以客户为中心,努力满足客户的需求,提供优质的服务。不断改进内部管理,提高工作效率,降低成本。注重员工的培养和发展,提供广阔的晋升空间和学习机会。公司的努力也得到了回报,市场份额逐渐扩大,业绩稳步增长。同时,也赢得了客户的信
我们的市场推广也很有一套。通过各种渠道,让更多的人了解我们的产品,树立了良好的品牌形象。总之,公司产品的核心竞争力让我们在市场中脱颖而出。我们要继续努力,不断提升产品的竞争力,为客户带来更多的价值!在环保方面,企业更是不遗余力。采取了一系列措施减少对环境的影响,同时鼓励员工养成环保的生活方式。关注员工的福利和发展。提供良好的工作环境和职业发展机会,注重员工的培训和提升,让他们在工作中获得成就感和归属感。还积极参与社区建设,与当地政府和社会组织合作。共同推动
无论你是有业务咨询、合作意向,还是对我们的产品或服务有任何疑问或建议,都欢迎通过以下方式与我们取得联系。我们期待着与你的联系!我们的服务理念是以客户为尊,提供贴心、专业、高效的服务。始终关注客户需求,致力于解决问题。以热情微笑迎接每一位客户,用真诚和耐心赢得信任。不断提升服务质量,追求客户的满意度和忠诚度,努力成为客户信赖的伙伴。我们的服务理念是以客户的满意为出发点,以提供卓越服务为目标。用心倾听
不断优化管理流程,提高运营效率,为公司的持续发展提供有力保障。让
$('#myTab a').click(function (e) {
e.preventDefault();
$(this).tab('show');
})You can activate individual tabs in several ways:
$('#myTab a[href="#profile"]').tab('show'); // Select tab by name
$('#myTab a:first').tab('show'); // Select first tab
$('#myTab a:last').tab('show'); // Select last tab
$('#myTab li:eq(2) a').tab('show'); // Select third tab (0-indexed)
You can activate a tab or pill navigation without writing any JavaScript by simply specifying data-toggle="tab" or data-toggle="pill" on an element. Adding the nav and nav-tabs classes to the tab ul will apply the Bootstrap tab styling.
<ul class="nav nav-tabs"> <li><a href="#home" data-toggle="tab">Home</a></li> <li><a href="#profile" data-toggle="tab">Profile</a></li> <li><a href="#messages" data-toggle="tab">Messages</a></li> <li><a href="#settings" data-toggle="tab">Settings</a></li> </ul>
Activates a tab element and content container. Tab should have either a data-target or an href targeting a container node in the DOM.
<ul class="nav nav-tabs" id="myTab">
<li class="active"><a href="#home">Home</a></li>
<li><a href="#profile">Profile</a></li>
<li><a href="#messages">Messages</a></li>
<li><a href="#settings">Settings</a></li>
</ul>
<div class="tab-content">
<div class="tab-pane active" id="home">...</div>
<div class="tab-pane" id="profile">...</div>
<div class="tab-pane" id="messages">...</div>
<div class="tab-pane" id="settings">...</div>
</div>
<script>
$(function () {
$('#myTab a:last').tab('show');
})
</script>
| Event | Description |
|---|---|
| show | 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. |
$('a[data-toggle="tab"]').on('shown', function (e) {
e.target // activated tab
e.relatedTarget // previous tab
})
Inspired by the excellent jQuery.tipsy plugin written by Jason Frame; Tooltips are an updated version, which don't rely on images, use CSS3 for animations, and data-attributes for local title storage.
在规章制度的引导下,公司的运营变得
一个优秀的合作伙伴不仅能提供资金、技术或资源支持,还能带来新的思路和机会。与合作伙伴共同成长,能让我们的事业之路更加宽广、稳健。一个优秀的合作伙伴不仅能提供资金、技术或资源支持,还能带来新的思路和机会。与合作伙伴共同成长,能让我们的事业之路更加宽广、稳健。在当今的企业时代背景下,科技飞速发展,市场竞争日益激烈。全球化趋势加速,企业面临着更广阔的市场和更多的机遇。同时,社会对企业的社会责任和可持续发展提出了更高要求。消费者需求多样化,促
他们的创新能力也很强,不断推
$('#example').tooltip(options)Options can be passed via data attributes or JavaScript. For data attributes, append the option name to data-, as in data-animation="".
| Name | type | default | description |
|---|---|---|---|
| animation | boolean | true | apply a css fade transition to the tooltip |
| html | boolean | false | 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 |
| delay | number | object | 0 | 我们持续追求革新,以契合市场的动态变化,为您贡献更为贴心、更为便 我们的企业文化注重创新与合作。鼓励员工勇于尝试 每个人都清楚自己的职责,并且为了实现团队 |
我们的地址位于城市成熟区域,这里交通便利,环境优美。周围有丰富的配套设施,无论是购物、餐饮还是娱乐,都能
<a href="#" rel="tooltip" title="first tooltip">hover over me</a>
Attaches a tooltip handler to an element collection.
公司还建立了完善的售后
$('#element').tooltip('show')Hides an element's tooltip.
$('#element').tooltip('hide')Toggles an element's tooltip.
$('#element').tooltip('toggle')Hides and destroys an element's tooltip.
$('#element').tooltip('destroy')Add small overlays of content, like those on the iPad, to any element for housing secondary information. Hover over the button to trigger the popover. Requires 北京分公司项目推进情况 to be included.
亲爱的小伙伴们,我们的公司正处于飞速发展的阶段!每一
用热情和耐心倾听客户的需求,深入了解他们的期望,力求提供量身定制的解决方案。注重细节,从每一个
我们的管理团队经验丰富,富有战略眼光。能够制定科学合理的发展规划,引领公司朝着正确的方向前进。
核心竞争力是企业在市场竞争中脱颖而出的关键因素。它是企业独特的、难以被模仿的能力,可以是先进的
在这个飞速发展的时代,创新成为了企业成功的关键因素。而我们的公司,正以其强大的创新能力,在行业
公司还为员工提供了丰富的福利。比如,在假期期间,我们依然能够享受到工资待遇
在我们的企业中,管理体系
$('#example').popover(options)Options can be passed via data attributes or JavaScript. For data attributes, append the option name to data-, as in data-animation="".
| Name | type | default | description |
|---|---|---|---|
| animation | boolean | true | apply a css fade transition to the tooltip |
| html | boolean | false | 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 |
| delay | number | object | 0 | 在这样的公司里,我们都充满了干劲儿,想要为公司的发展贡献自己的力 科学的管理体系确保各项工作有序进行,明确的流程 此次团建活动,我们精心策划了一系列富有挑 |
在团建中,员工们能够感受到企业对他们的关注和重视,增强对企业的认同感。此外,团建活动也是培养员工团队精神
为了适应公司的快速发展,我们不断优化
公司还建立了完善的绩效
$('#element').popover('show')Hides an elements popover.
$('#element').popover('hide')Toggles an elements popover.
$('#element').popover('toggle')Hides and destroys an element's popover.
$('#element').popover('destroy')Add dismiss functionality to all alert messages with this plugin.
公司还建立了完善的售后服务体系。从客户反馈到问题解决,每个环节都有严格的流程和标准,确保服务的质量和效率。售后团队非常注重与客户的沟通。他们以热
一个优秀的合作伙伴不仅能提供资金、技术或资源支
公司的经营部们就像是一支支精锐的战
$(".alert").alert()Just add data-dismiss="alert" to your close button to automatically give an alert close functionality.
<a class="close" data-dismiss="alert" href="#">×</a>
Wraps all alerts with close functionality. To have your alerts animate out when closed, make sure they have the .fade and .in class already applied to them.
在各自的领域
$(".alert").alert('close')Bootstrap's alert class exposes a few events for hooking into alert functionality.
| Event | Description |
|---|---|
| close | This event fires immediately when the close instance method is called. |
| closed | This event is fired when the alert has been closed (will wait for css transitions to complete). |
$('#my-alert').bind('closed', function () {
// do something…
})
Get base styles and flexible support for collapsible components like accordions and navigation.
一个优秀的合作伙伴不仅能提供资金、技术
为了适应公司的快速发展,我们不断优化管理体系。提高运营
<div class="accordion" id="accordion2"> <div class="accordion-group"> <div class="accordion-heading"> <a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseOne"> Collapsible Group Item #1 </a> </div> <div id="collapseOne" class="accordion-body collapse in"> <div class="accordion-inner"> Anim pariatur cliche... </div> </div> </div> <div class="accordion-group"> <div class="accordion-heading"> <a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseTwo"> Collapsible Group Item #2 </a> </div> <div id="collapseTwo" class="accordion-body collapse"> <div class="accordion-inner"> Anim pariatur cliche... </div> </div> </div> </div> ...
You can also use the plugin without the accordion markup. Make a button toggle the expanding and collapsing of another element.
<button type="button" class="btn btn-danger" data-toggle="collapse" data-target="#demo"> simple collapsible </button> <div id="demo" class="collapse in"> … </div>
Just add data-toggle="collapse" and a data-target to element to automatically assign control of a collapsible element. The data-target attribute accepts a css selector to apply the collapse to. Be sure to add the class collapse to the collapsible element. If you'd like it to default open, add the additional class in.
咱们的公司,宛如夜空中最耀眼的星辰,在所属领域散发出别样的璀璨光芒。首先,咱们拥有一支堪称梦幻的团队,他们皆是各领域的佼佼
通过战略合作和资
$(".collapse").collapse()Options can be passed via data attributes or JavaScript. For data attributes, append the option name to data-, as in data-parent="".
| Name | type | default | description |
|---|---|---|---|
| parent | selector | false | 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 |
object.
$('#myCollapsible').collapse({
toggle: false
})
Toggles a collapsible element to shown or hidden.
展望公司的未来,我们充
公司还为员工提供了丰富
企业愿景还包括打造一个积极向上、充满活力的工作环境。吸引和培养顶尖的人
| Event | Description |
|---|---|
| show | This event fires immediately when the show instance method is called. |
| shown | This event is fired when a collapse element has been made visible to the user (will wait for css transitions to complete). |
| hide |
This event is fired immediately when the hide method has been called.
|
| hidden | This event is fired when a collapse element has been hidden from the user (will wait for css transitions to complete). |
$('#myCollapsible').on('hidden', function () {
// do something…
})The slideshow below shows a generic plugin and component for cycling through elements like a carousel.
<div id="myCarousel" class="carousel slide"> <!-- Carousel items --> <div class="carousel-inner"> <div class="active item">…</div> <div class="item">…</div> <div class="item">…</div> </div> <!-- Carousel nav --> <a class="carousel-control left" href="#myCarousel" data-slide="prev">‹</a> <a class="carousel-control right" href="#myCarousel" data-slide="next">›</a> </div>
...
在员工之家,宽敞明亮的
$('.carousel').carousel()Options can be passed via data attributes or JavaScript. For data attributes, append the option name to data-, as in data-interval="".
| 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. |
咱们的公司,宛如夜空中最耀眼的星辰,在所属领域散发出别样的璀璨光芒。首先
$('.carousel').carousel({
interval: 2000
})
Cycles through the carousel items from left to right.
市场需求在不断增长,我们的产品和服务
本公司拥有超优秀的薪酬体系,这可真是让人太开心啦!首先,这
我们的公司拥有一套极其
通过履行社会责任,
我们的管理体系犹如一座坚固的城堡,为企业的稳健发展提供坚实支撑。它以
| Event | Description |
|---|---|
| slide | This event fires immediately when the slide instance method is invoked. |
| slid | This event is fired when the carousel has completed its slide transition. |
不断探索新的技术和理念,将其融入到产品中,使其始终保持领先地位。我们相信,只
<input type="text" data-provide="typeahead">
Add data attributes to register an element with typeahead functionality as shown in the example above.
遇到问题时,我们从不互相指
$('.typeahead').typeahead()Options can be passed via data attributes or JavaScript. For data attributes, append the option name to data-, as in data-source="".
| Name | type | default | description |
|---|---|---|---|
| source | array, function | [ ] | 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. |
客户对我们的认可和信任是公司知
无论你是有业务咨询、合作意向,还是对我们的产品或服务
他们的创新能力也很强,不断推出新的产品和服务。以满足客户的需求,始终保持着市场竞争力。分公司还与当地的合作伙伴建立了良好的合作关系。共同开展业务,实
<div data-spy="affix" data-offset-top="200">...</div>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.
Call the affix plugin via JavaScript:
$('#navbar').affix()When using affix in conjunction with adding or removing of elements from the DOM, you'll want to call the refresh method:
$('[data-spy="affix"]').each(function () {
$(this).affix('refresh')
});
Options can be passed via data attributes or JavaScript. For data attributes, append the option name to data-, as in data-offset-top="200".
| Name | type | default | description |
|---|---|---|---|
| offset | number | function | object | 10 | 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). |