1.3.7 • Published 2 years ago

@types/jquery.growl v1.3.7

Weekly downloads
108
License
MIT
Repository
github
Last release
2 years ago

Installation

npm install --save @types/jquery.growl

Summary

This package contains type definitions for jquery.growl (https://github.com/ksylvest/jquery-growl#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jquery.growl.

index.d.ts

// Type definitions for jquery.growl 1.3
// Project: https://github.com/ksylvest/jquery-growl#readme
// Definitions by: Amir.h Yeganemehr <https://github.com/yeganemehr>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3

/// <reference types="jquery" />

declare namespace growl {
    interface Options {
        // Message
        message: string;
        // Title
        title?: string | undefined;
        // URL
        url?: string | undefined;
        // while hovering over the alert, prevent it from being dismissed (true | false - default: true)
        delayOnHover?: boolean | undefined;
        // the duration (in milliseconds) for which the alert is displayed (default: 3200)
        duration?: number | undefined;
        // whether the alert should be fixed rather than auto- dismissed(true | false - default: false)
        fixed?: boolean | undefined;
        // the alert's position ('tl' | 'tr' | 'bl' | 'br' | 'tc' | 'bc' - default: 'tr')
        location?: string | undefined;
        // the alert's size ('small' | 'medium' | 'large' - default: 'medium')
        size?: string | undefined;
        // the alert's style ('default' | 'error' | 'notice' | 'warning' - default: 'default')
        style?: string | undefined;
    }
}

interface growl {
    (options: growl.Options): void;
    error(options: growl.Options): void;
    notice(options: growl.Options): void;
    warning(options: growl.Options): void;
}

interface JQueryStatic {
    growl: growl;
}

Additional Details

  • Last updated: Thu, 08 Jul 2021 16:22:36 GMT
  • Dependencies: @types/jquery
  • Global values: none

Credits

These definitions were written by Amir.h Yeganemehr.

1.3.7

2 years ago

1.3.6

2 years ago

1.3.5

4 years ago

1.3.4

5 years ago

1.3.3

8 years ago

1.3.2

8 years ago

1.3.1

8 years ago

1.3.0

8 years ago