0.0.12 • Published 3 months ago

@types/jquery-truncate-html v0.0.12

Weekly downloads
2
License
MIT
Repository
github
Last release
3 months ago

Installation

npm install --save @types/jquery-truncate-html

Summary

This package contains type definitions for jQuery-truncate-html.js (https://github.com/kbwood/timeentry).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jquery-truncate-html.

index.d.ts

// Type definitions for jQuery-truncate-html.js
// Project: https://github.com/kbwood/timeentry
// Definitions by: Abraão Alves <https://github.com/abraaoalves>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3

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

interface TruncateOptions{
    length?: number | undefined;
    stripTags?: boolean | undefined;
    words?: boolean | undefined;
    noBreaks?: boolean | undefined;
    ellipsis?: string | undefined;
}

interface JQuery{
    truncate(options: TruncateOptions) : JQuery;
}

interface JQueryStatic {
    truncate(html: string, options: TruncateOptions) : string;
}

Additional Details

  • Last updated: Fri, 09 Jul 2021 02:32:29 GMT
  • Dependencies: @types/jquery
  • Global values: none

Credits

These definitions were written by Abraão Alves.

0.0.12

3 months ago

0.0.10

7 months ago

0.0.11

6 months ago

0.0.9

8 months ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago