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

1.0.4 • Public • Published

Installation

npm install --save @types/viewability-helper

Summary

This package contains type definitions for viewability-helper (https://github.com/outbrain/viewabilityhelper).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/viewability-helper.

index.d.ts

export interface Options {
    callbackParams?: any[] | undefined;
    rootMargin?: string | undefined;
    intersectionPercentage?: number | undefined;
    scrollDimmer?: number | undefined;
    unobserve?: boolean | undefined;
    threshold?: number[] | undefined;
}

export class ViewabilityHelper {
    constructor(element: Element | HTMLElement, callback: () => void, options?: Options);

    observe(): void;
}

Additional Details

  • Last updated: Tue, 07 Nov 2023 15:11:36 GMT
  • Dependencies: none

Credits

These definitions were written by Liron Zluf.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.20ts3.6
1.0.20ts3.7
1.0.20ts3.8
1.0.20ts3.9
1.0.20ts4.0
1.0.20ts4.1
1.0.20ts4.2
1.0.20ts4.3
1.0.20ts4.4
1.0.10ts2.1
1.0.10ts2.2
1.0.10ts2.3
1.0.10ts2.4
1.0.10ts2.5
1.0.10ts2.6
1.0.10ts2.7
1.0.10ts2.8
1.0.10ts2.9
1.0.10ts3.0
1.0.10ts3.1
1.0.10ts3.2
1.0.10ts3.3
1.0.10ts3.4
1.0.10ts3.5
1.0.41ts5.6
1.0.41latest
1.0.41ts4.5
1.0.41ts4.6
1.0.41ts4.7
1.0.41ts4.8
1.0.41ts4.9
1.0.41ts5.0
1.0.41ts5.1
1.0.41ts5.2
1.0.41ts5.3
1.0.41ts5.4
1.0.41ts5.5
1.0.41ts5.7

Version History

VersionDownloads (Last 7 Days)Published
1.0.41
1.0.30
1.0.20
1.0.10
1.0.00

Package Sidebar

Install

npm i @types/viewability-helper

Weekly Downloads

1

Version

1.0.4

License

MIT

Unpacked Size

3.45 kB

Total Files

5

Last publish

Collaborators

  • types