mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 06:47:03 +00:00
Merge pull request #21094 from ne0h12/master
Export module BootstrapFileInput
This commit is contained in:
Vendored
+12
-3
@@ -6,10 +6,14 @@
|
||||
|
||||
/// <reference types="jquery" />
|
||||
|
||||
interface JQuery {
|
||||
fileinput: (options?: BootstrapFileInput.FileInputOptions) => JQuery;
|
||||
}
|
||||
export = BootstrapFileInput;
|
||||
export as namespace BootstrapFileInput;
|
||||
|
||||
declare global {
|
||||
interface JQuery {
|
||||
fileinput: (options?: BootstrapFileInput.FileInputOptions) => JQuery;
|
||||
}
|
||||
}
|
||||
|
||||
declare module BootstrapFileInput {
|
||||
interface FileInputOptions {
|
||||
@@ -19,6 +23,11 @@ declare module BootstrapFileInput {
|
||||
The locale JS file for the language code must be defined as mentioned in the translations section: http://plugins.krajee.com/file-input#translations
|
||||
*/
|
||||
language?: string;
|
||||
|
||||
/**
|
||||
* Theming
|
||||
*/
|
||||
theme?: string;
|
||||
/**
|
||||
Whether to display the file caption.
|
||||
Defaults to true.
|
||||
|
||||
Reference in New Issue
Block a user