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

    1.2.1 • 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

    // Type definitions for bootstrap-filestyle 1.2
    // Project: https://github.com/markusslima/bootstrap-filestyle
    // Definitions by: Mustafa Salaheldin <https://github.com/mustafasalahuldin>
    // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
    // TypeScript Version: 2.3
    
    /// <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: Thu, 08 Jul 2021 00:35:31 GMT
    • Dependencies: @types/jquery
    • Global values: none

    Credits

    These definitions were written by Mustafa Salaheldin.

    Keywords

    none

    Install

    npm i @types/bootstrap-filestyle

    DownloadsWeekly Downloads

    162

    Version

    1.2.1

    License

    MIT

    Unpacked Size

    4.93 kB

    Total Files

    4

    Last publish

    Collaborators

    • types