1
1
import { LitElement , html , customElement , property } from "lit-element" ;
2
2
import VanillaInfiniteViewer , {
3
- InfiniteViewerProperties ,
3
+ InfiniteViewerOptions ,
4
4
EVENTS , PROPERTIES , InfiniteViewerMethods , METHODS , OPTIONS
5
5
} from "infinite-viewer" ;
6
6
import { Properties , withMethods , MethodInterface } from "framework-utils" ;
@@ -18,7 +18,7 @@ export class LitInfiniteViewer extends LitElement {
18
18
} )
19
19
private infiniteViewer ! : VanillaInfiniteViewer ;
20
20
public firstUpdated ( ) {
21
- const options : Partial < InfiniteViewerProperties > = { } ;
21
+ const options : Partial < InfiniteViewerOptions > = { } ;
22
22
23
23
OPTIONS . forEach ( name => {
24
24
if ( typeof this [ name ] !== "undefined" ) {
@@ -74,7 +74,7 @@ export class LitInfiniteViewer extends LitElement {
74
74
this . infiniteViewer . destroy ( ) ;
75
75
}
76
76
}
77
- export interface LitInfiniteViewer extends InfiniteViewerProperties ,
77
+ export interface LitInfiniteViewer extends InfiniteViewerOptions ,
78
78
MethodInterface < InfiniteViewerMethods , VanillaInfiniteViewer , LitInfiniteViewer , {
79
79
"click" : "clickViewer" ,
80
80
"scrollTo" : "scrollToViewer" ,
0 commit comments