angular-three 1.0.0-beta.6 → 1.0.0-beta.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/index.mjs +2 -1
- package/esm2020/lib/canvas.mjs +4 -4
- package/esm2020/lib/pipes/push.mjs +54 -0
- package/fesm2015/angular-three.mjs +56 -5
- package/fesm2015/angular-three.mjs.map +1 -1
- package/fesm2020/angular-three.mjs +56 -5
- package/fesm2020/angular-three.mjs.map +1 -1
- package/index.d.ts +1 -0
- package/lib/canvas.d.ts +2 -2
- package/lib/pipes/push.d.ts +15 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
package/lib/canvas.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ export declare class NgtCanvas extends NgtRxStore<NgtCanvasInputs> implements On
|
|
|
16
16
|
initialize(): void;
|
|
17
17
|
readonly hostClass = true;
|
|
18
18
|
get pointerEvents(): "none" | "auto";
|
|
19
|
-
|
|
19
|
+
sceneGraph: Type<any>;
|
|
20
20
|
compoundPrefixes: string[];
|
|
21
21
|
set linear(linear: boolean);
|
|
22
22
|
set legacy(legacy: boolean);
|
|
@@ -44,5 +44,5 @@ export declare class NgtCanvas extends NgtRxStore<NgtCanvasInputs> implements On
|
|
|
44
44
|
ngOnDestroy(): void;
|
|
45
45
|
private overrideDetectChanges;
|
|
46
46
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgtCanvas, never>;
|
|
47
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NgtCanvas, "ngt-canvas", never, { "
|
|
47
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtCanvas, "ngt-canvas", never, { "sceneGraph": "sceneGraph"; "compoundPrefixes": "compoundPrefixes"; "linear": "linear"; "legacy": "legacy"; "flat": "flat"; "orthographic": "orthographic"; "frameloop": "frameloop"; "dpr": "dpr"; "raycaster": "raycaster"; "shadows": "shadows"; "camera": "camera"; "gl": "gl"; "eventSource": "eventSource"; "eventPrefix": "eventPrefix"; "lookAt": "lookAt"; "performance": "performance"; }, { "created": "created"; "pointerMissed": "pointerMissed"; }, never, never, true, never>;
|
|
48
48
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { OnDestroy, PipeTransform } from '@angular/core';
|
|
2
|
+
import { ObservableInput } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class NgtPush<T> implements PipeTransform, OnDestroy {
|
|
5
|
+
private readonly cdr;
|
|
6
|
+
private readonly parentCdr;
|
|
7
|
+
private sub?;
|
|
8
|
+
private obj?;
|
|
9
|
+
private latestValue?;
|
|
10
|
+
transform(value: ObservableInput<T>, defaultValue?: T): T;
|
|
11
|
+
updateValue(val: T): void;
|
|
12
|
+
ngOnDestroy(): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtPush<any>, never>;
|
|
14
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<NgtPush<any>, "ngtPush", true>;
|
|
15
|
+
}
|