我们公司那令人称赞的工作环境!一踏入公司,就能感受到那明亮而宽敞的空间。充足的自然采光让整个办公室充满了生机和活力。办公区域布置得井井有
团队具备专业的市场洞察力,能够精准地把握目标受众的需求和期望。通过深入的市场调研和分析,公司打造出与消费者产生情感共鸣的品牌形象。在营销活动方面,公司富有创意和创
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 | 同时,我们高度重视员工的个人发展,每年提供超过 100 场的培训课程和众多晋升机会。通过营造出开放、包容且充满活力的工作氛围,员工的工作满意度提升了 30%。在当今激烈的市场竞争中,我们的企业核心 |
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). |