Skip to content

Commit 6872362

Browse files
committed
build v5.1.1
1 parent 1ce040f commit 6872362

File tree

6 files changed

+52
-15
lines changed

6 files changed

+52
-15
lines changed

dist/esm/pushin.d.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,20 @@ export declare class PushIn {
1616
cleanupFns: VoidFunction[];
1717
options: PushInOptions;
1818
scrollTarget?: HTMLElement | string;
19+
private targetHeight;
1920
constructor(container: HTMLElement, options?: PushInOptions);
2021
/**
2122
* Initialize the object to start everything up.
2223
*/
2324
start(): void;
25+
/**
26+
* Set the target height on initialization.
27+
*
28+
* This will be used to calculate scroll length.
29+
*
30+
* @see setScrollLength
31+
*/
32+
setTargetHeight(): void;
2433
/**
2534
* Get scrollTarget option from data attribute
2635
* or JavaScript API.

dist/esm/pushin.js

Lines changed: 20 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/esm/pushin.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/umd/pushin.js

Lines changed: 20 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/umd/pushin.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/umd/pushin.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)