11declare module '@fullpage/react-fullpage' {
22
3- type Item = {
3+ export type Item = {
44 anchor : string | number ,
55 index : number ,
66 item : HTMLElement ,
@@ -13,6 +13,22 @@ declare module '@fullpage/react-fullpage' {
1313 type InterlockedSlides = boolean | Array < number > ;
1414 type bigSectionsDestination = "top" | "bottom" | null ;
1515 type Parallax = boolean | "sections" | "slides" ;
16+ type DropEffect = boolean | "sections" | "slides" ;
17+ type WaterEffect = boolean | "sections" | "slides" ;
18+ type WaterEffectOptions = {
19+ animateContent : boolean
20+ animateOnMouseMove : boolean
21+ } ;
22+ type CardsOptions = {
23+ perspective : number
24+ fadeContent : boolean
25+ fadeBackground : boolean
26+ } ;
27+ type ParallaxOptions = {
28+ percentage ?: number
29+ property ?: "translate" | "background"
30+ type ?: "reveal" | "cover"
31+ } ;
1632
1733 export interface fullpageOptions {
1834 anchors ?: string [ ]
@@ -50,11 +66,7 @@ declare module '@fullpage/react-fullpage' {
5066 paddingBottom ?: string
5167 paddingTop ?: string
5268 parallax ?: Parallax // true, false, 'sections', 'slides'
53- parallaxOptions ?: {
54- percentage ?: number
55- property ?: "translate" | "background"
56- type ?: "reveal" | "cover"
57- }
69+ parallaxOptions ?: ParallaxOptions
5870 recordHistory ?: boolean
5971 resetSliders ?: boolean
6072 responsive ?: number
@@ -68,13 +80,17 @@ declare module '@fullpage/react-fullpage' {
6880 scrollOverflowOptions ?: any
6981 scrollOverflowReset ?: boolean
7082 scrollingSpeed ?: number
71- dropEffect ?: true
83+ dropEffect ?: DropEffect ;
7284 dropEffectOptions ?: any ;
85+ waterEffect ?: WaterEffect ;
86+ waterEffectOptions ?: WaterEffectOptions ;
87+ cards : boolean ;
88+ cardsOptions : CardsOptions ;
7389 sectionSelector ?: string
7490 sectionsColor ?: string [ ]
7591 showActiveTooltip ?: boolean
7692 slideSelector ?: string
77- slidesNavPosition ?: string
93+ slidesNavPosition ?: "top" | "bottom"
7894 slidesNavigation ?: boolean
7995 touchSensitivity ?: number
8096 v2compatible ?: boolean
0 commit comments