mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Rename all definition files, remove versions
This commit is contained in:
Vendored
+98
@@ -0,0 +1,98 @@
|
||||
// Type definitions for Bootstrap 2.2
|
||||
// Project: http://twitter.github.com/bootstrap/
|
||||
// Definitions by: Boris Yankov <https://github.com/borisyankov/>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
|
||||
/// <reference path="../jquery/jquery-1.9.d.ts"/>
|
||||
|
||||
interface ModalOptions {
|
||||
backdrop?: bool;
|
||||
keyboard?: bool;
|
||||
show?: bool;
|
||||
remote?: string;
|
||||
}
|
||||
|
||||
interface ScrollSpyOptions {
|
||||
offset?: number;
|
||||
}
|
||||
|
||||
interface TooltipOptions {
|
||||
animation?: bool;
|
||||
html?: bool;
|
||||
placement?: any;
|
||||
selector?: string;
|
||||
title?: any;
|
||||
trigger?: string;
|
||||
delay?: any;
|
||||
}
|
||||
|
||||
interface PopoverOptions {
|
||||
animation?: bool;
|
||||
html?: bool;
|
||||
placement?: any;
|
||||
selector?: string;
|
||||
trigger?: string;
|
||||
title?: any;
|
||||
content?: any;
|
||||
delay?: any;
|
||||
}
|
||||
|
||||
interface CollapseOptions {
|
||||
parent?: any;
|
||||
toggle?: bool;
|
||||
}
|
||||
|
||||
interface CarouselOptions {
|
||||
interval?: number;
|
||||
pause?: string;
|
||||
}
|
||||
|
||||
interface TypeaheadOptions {
|
||||
source?: any;
|
||||
items?: number;
|
||||
minLength?: number;
|
||||
matcher?: () => any;
|
||||
sorter?: () => any;
|
||||
highlighter?: () => any;
|
||||
}
|
||||
|
||||
interface AffixOptions {
|
||||
offset?: any;
|
||||
}
|
||||
|
||||
interface JQuery {
|
||||
modal(options?: ModalOptions): JQuery;
|
||||
modal(command: string): JQuery;
|
||||
|
||||
dropdown(): JQuery;
|
||||
dropdown(command: string): JQuery;
|
||||
|
||||
scrollspy(command: string): JQuery;
|
||||
scrollspy(options?: ScrollSpyOptions): JQuery;
|
||||
|
||||
tab(): JQuery;
|
||||
tab(command: string): JQuery;
|
||||
|
||||
tooltip(options?: TooltipOptions): JQuery;
|
||||
tooltip(command: string): JQuery;
|
||||
|
||||
popover(options?: PopoverOptions): JQuery;
|
||||
popover(command: string): JQuery;
|
||||
|
||||
alert(): JQuery;
|
||||
alert(command: string): JQuery;
|
||||
|
||||
button(): JQuery;
|
||||
button(command: string): JQuery;
|
||||
|
||||
collapse(options?: CollapseOptions): JQuery;
|
||||
collapse(command: string): JQuery;
|
||||
|
||||
carousel(options?: CarouselOptions): JQuery;
|
||||
carousel(command: string): JQuery;
|
||||
|
||||
typeahead(options?: TypeaheadOptions): JQuery;
|
||||
|
||||
affix(options?: AffixOptions): JQuery;
|
||||
}
|
||||
Reference in New Issue
Block a user