@ovee.js/toolkit
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -13,6 +13,7 @@ import * as ovee_js from 'ovee.js'; | ||
item: AccordionElement; | ||
height?: number; | ||
immediate: boolean; | ||
speed: number; | ||
ease: string; | ||
duration: number; | ||
ease: string | gsap.EaseFunction; | ||
display?: string; | ||
onInit?: (tween: gsap.core.Tween) => void; | ||
} | ||
@@ -23,10 +24,13 @@ interface BaseAccordionOptions { | ||
immediate: boolean; | ||
speed: number; | ||
ease: string; | ||
duration: number; | ||
ease: string | gsap.EaseFunction; | ||
openClass?: string; | ||
collapsedClass?: string; | ||
display?: string; | ||
} | ||
declare const BASE_ACCORDION_DEFAULT_OPTIONS: BaseAccordionOptions; | ||
declare const BASE_ACCORDION_DEFAULT_OPTIONS: Required<BaseAccordionOptions>; | ||
declare class BaseAccordion extends Component { | ||
items: AccordionElement[]; | ||
options: BaseAccordionOptions; | ||
options: Required<BaseAccordionOptions>; | ||
init(): void; | ||
@@ -37,11 +41,9 @@ initAttributes(): void; | ||
}): void; | ||
calcHeights(): void; | ||
setInitHeights(): void; | ||
show(args: AnimationArguments): void; | ||
hide(args: AnimationArguments): void; | ||
handleTriggerEvent(e: Event): void; | ||
bind(): void; | ||
show(args: AnimationArguments): Promise<void>; | ||
hide(args: AnimationArguments): Promise<void>; | ||
clickHandler(e: MouseEvent): void; | ||
keyDownHandler(e: KeyboardEvent): void; | ||
bind(): void; | ||
destroy(): void; | ||
handleTriggerEvent(e: Event): void; | ||
} | ||
@@ -48,0 +50,0 @@ |
@@ -5,3 +5,3 @@ { | ||
"license": "MIT", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "Ovee.js frontend toolkit developed by Owls Department", | ||
@@ -8,0 +8,0 @@ "bugs": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
115315
3501