@types/bootstrap-filestyle
TypeScript icon, indicating that this package has built-in type declarations

1.2.4 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/bootstrap-filestyle

Weekly Downloads

72

Version

1.2.4

License

MIT

Unpacked Size

4.34 kB

Total Files

5

Last publish

Collaborators

  • types