Merge pull request #21094 from ne0h12/master

Export module BootstrapFileInput
This commit is contained in:
Daniel Rosenwasser
2017-11-13 16:24:41 -08:00
committed by GitHub
+12 -3
View File
@@ -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.