Skip to content

Commit

Permalink
build v5.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
nateplusplus committed Jul 15, 2022
1 parent 1ce040f commit 6872362
Show file tree
Hide file tree
Showing 6 changed files with 52 additions and 15 deletions.
9 changes: 9 additions & 0 deletions dist/esm/pushin.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,20 @@ export declare class PushIn {
cleanupFns: VoidFunction[];
options: PushInOptions;
scrollTarget?: HTMLElement | string;
private targetHeight;
constructor(container: HTMLElement, options?: PushInOptions);
/**
* Initialize the object to start everything up.
*/
start(): void;
/**
* Set the target height on initialization.
*
* This will be used to calculate scroll length.
*
* @see setScrollLength
*/
setTargetHeight(): void;
/**
* Get scrollTarget option from data attribute
* or JavaScript API.
Expand Down
26 changes: 20 additions & 6 deletions dist/esm/pushin.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/esm/pushin.js.map

Large diffs are not rendered by default.

26 changes: 20 additions & 6 deletions dist/umd/pushin.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/umd/pushin.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/umd/pushin.min.js

Large diffs are not rendered by default.

0 comments on commit 6872362

Please sign in to comment.