未来,我们将继续砥砺前行。以更加饱满的热情和更加坚定的信念,迎接新的挑战和机遇。让我们携手共进,共同见证公司更加辉煌的明天!公司对研发投
当前我们行业发展稳健,市场规模稳步增长。技术持续创新,产品愈发多样,满足消费者多元需求。竞争加剧,企业需增强实力,适应市场变化,谋求更大发展空间。在员工之家,我们
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). |