mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-07 16:30:12 +08:00
Merge pull request #835 from anthonychu/master
Minor Bootstrap fixes and updates
This commit is contained in:
@@ -35,6 +35,11 @@ $('#myCollapsible').collapse({ toggle: false });
|
||||
$('.carousel').carousel();
|
||||
$('.carousel').carousel({ interval: 2000 });
|
||||
|
||||
$('.typeahead').typeahead();
|
||||
$('.typeahead').typeahead({
|
||||
matcher: item => true,
|
||||
sorter: (items: any[]) => items,
|
||||
updater: item => item,
|
||||
highlighter: item => ""
|
||||
});
|
||||
|
||||
$('#navbar').affix();
|
||||
Vendored
+7
-4
@@ -32,6 +32,7 @@ interface TooltipOptions {
|
||||
title?: any;
|
||||
trigger?: string;
|
||||
delay?: any;
|
||||
container?: any;
|
||||
}
|
||||
|
||||
interface PopoverOptions {
|
||||
@@ -42,7 +43,8 @@ interface PopoverOptions {
|
||||
trigger?: string;
|
||||
title?: any;
|
||||
content?: any;
|
||||
delay?: any;
|
||||
delay?: any;
|
||||
container?: any;
|
||||
}
|
||||
|
||||
interface CollapseOptions {
|
||||
@@ -59,9 +61,10 @@ interface TypeaheadOptions {
|
||||
source?: any;
|
||||
items?: number;
|
||||
minLength?: number;
|
||||
matcher?: () => any;
|
||||
sorter?: () => any;
|
||||
highlighter?: () => any;
|
||||
matcher?: (item: any) => boolean;
|
||||
sorter?: (items: any[]) => any[];
|
||||
updater?: (item: any) => any;
|
||||
highlighter?: (item: any) => string;
|
||||
}
|
||||
|
||||
interface AffixOptions {
|
||||
|
||||
Reference in New Issue
Block a user