Installation
npm install --save @types/bootstrap-filestyle
Summary
This package contains type definitions for bootstrap-filestyle (https://github.com/markusslima/bootstrap-filestyle).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/bootstrap-filestyle.
index.d.ts
/// <reference types="jquery"/>
interface FilestyleOptions {
buttonText?: string | undefined;
iconName?: string | undefined;
buttonName?: string | undefined;
size?: string | undefined;
input?: boolean | undefined;
badge?: boolean | undefined;
icon?: boolean | undefined;
buttonBefore?: boolean | undefined;
disabled?: boolean | undefined;
placeholder?: string | undefined;
}
interface JQuery {
filestyle(options?: FilestyleOptions): JQuery;
filestyle(method: "clear" | "destroy" | "htmlIcon" | "htmlInput" | "pushNameFiles"): JQuery;
filestyle(method: "disabled" | "buttonBefore" | "icon" | "input", value: boolean): JQuery;
filestyle(method: "size" | "placeholder" | "buttonText" | "buttonName" | "iconName", value: string): JQuery;
}
Additional Details
- Last updated: Mon, 06 Nov 2023 22:41:05 GMT
- Dependencies: @types/jquery
Credits
These definitions were written by Mustafa Salaheldin.