0.0.12 • Published 1 year ago

@types/jquery-truncate-html v0.0.12

Weekly downloads
2
License
MIT
Repository
github
Last release
1 year 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

1 year ago

0.0.10

2 years ago

0.0.11

2 years ago

0.0.9

2 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

8 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago