Skip to content

Commit 133d89a

Browse files
committed
build v5.2.0
1 parent 02fd1a1 commit 133d89a

File tree

10 files changed

+274
-162
lines changed

10 files changed

+274
-162
lines changed

dist/esm/pushInComposition.d.ts

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,10 @@
11
import { PushInScene } from './pushInScene';
22
import { CompositionOptions } from './types';
3-
export declare class PushInComposition {
3+
import PushInBase from './pushInBase';
4+
export declare class PushInComposition extends PushInBase {
45
scene: PushInScene;
5-
private options;
6-
container?: HTMLElement;
6+
options: CompositionOptions;
77
constructor(scene: PushInScene, options: CompositionOptions);
8-
/**
9-
* Get the composition ratio based on
10-
* what has been passed in through the JavaScript API
11-
* and/or what has been passed in via HTML data-attributes.
12-
*
13-
* @return {number[] | undefined}
14-
*/
15-
private getRatio;
168
/**
179
* Set the aspect ratio based setting.
1810
*/

dist/esm/pushInLayer.d.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
import { PushInScene } from './pushInScene';
2+
import PushInBase from './pushInBase';
23
import { LayerOptions, LayerParams } from './types';
3-
export declare class PushInLayer {
4-
private element;
4+
export declare class PushInLayer extends PushInBase {
5+
container: HTMLElement;
56
private index;
67
scene: PushInScene;
7-
private options;
8+
options: LayerOptions;
89
params: LayerParams;
910
private originalScale;
1011
private ref;
11-
constructor(element: HTMLElement, index: number, scene: PushInScene, options: LayerOptions | null);
12+
constructor(container: HTMLElement, index: number, scene: PushInScene, options: LayerOptions);
1213
/**
1314
* Get the transitions setting, either from the API or HTML attributes.
1415
*

dist/esm/pushInScene.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import { PushInComposition } from './pushInComposition';
22
import { PushInLayer } from './pushInLayer';
33
import { PushIn } from './pushin';
4+
import PushInBase from './pushInBase';
45
import { SceneOptions } from './types';
5-
export declare class PushInScene {
6+
export declare class PushInScene extends PushInBase {
67
pushin: PushIn;
7-
container: HTMLElement;
88
layers: PushInLayer[];
99
layerDepth: number;
1010
options: SceneOptions;

dist/esm/pushin.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
import { PushInScene } from './pushInScene';
22
import { PushInOptions } from './types';
3+
import PushInBase from './pushInBase';
34
/**
45
* PushIn object
56
*
67
* Once new object is created, it will initialize itself and
78
* bind events to begin interacting with dom.
89
*/
9-
export declare class PushIn {
10+
export declare class PushIn extends PushInBase {
1011
container: HTMLElement;
1112
scene: PushInScene;
1213
private pushinDebug?;

dist/esm/pushin.js

Lines changed: 129 additions & 70 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.

0 commit comments

Comments
 (0)